Fix a typo introduced in last commit

This commit is contained in:
Gregory Nutt 2014-07-11 21:01:19 -06:00
parent fd14b28da2
commit 0139b6a01c
1 changed files with 2 additions and 2 deletions

View File

@ -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 <gnutt@nuttx.org>
*
* 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 */