From 0139b6a01c460b5eec473eeba6680c7a41844a4c Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 11 Jul 2014 21:01:19 -0600 Subject: [PATCH] Fix a typo introduced in last commit --- graphics/nxsu/nx_setbgcolor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graphics/nxsu/nx_setbgcolor.c b/graphics/nxsu/nx_setbgcolor.c index 8cf05edc9b..064dcad829 100644 --- a/graphics/nxsu/nx_setbgcolor.c +++ b/graphics/nxsu/nx_setbgcolor.c @@ -1,7 +1,7 @@ /**************************************************************************** * graphics/nxsu/nx_setbgcolor.c * - * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2009, 2014 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -99,7 +99,7 @@ int nx_setbgcolor(NXHANDLE handle, /* Has the background color changed? */ - if (!nxgl_colorcmp(fe.be.bgcolor, bgcolormsg->color)) + if (!nxgl_colorcmp(fe->be.bgcolor, color)) { /* Yes.. fill the background */