diff --git a/graphics/nxsu/nx_setbgcolor.c b/graphics/nxsu/nx_setbgcolor.c index 8cf05edc9b2..064dcad829b 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 */