summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-07-11 21:01:19 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-07-11 21:01:19 -0600
commite620c904595dd2f3a39258cb14113110744875f2 (patch)
tree5c49a7bb32f32a05e997c7fd624f046d04a65ef2
parent5dda83ad6c0218d9aa7e36814d1def533bd83c7d (diff)
downloadnuttx-e620c904595dd2f3a39258cb14113110744875f2.tar.gz
nuttx-e620c904595dd2f3a39258cb14113110744875f2.tar.bz2
nuttx-e620c904595dd2f3a39258cb14113110744875f2.zip
Fix a typo introduced in last commit
-rw-r--r--nuttx/graphics/nxsu/nx_setbgcolor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/graphics/nxsu/nx_setbgcolor.c b/nuttx/graphics/nxsu/nx_setbgcolor.c
index 8cf05edc9..064dcad82 100644
--- a/nuttx/graphics/nxsu/nx_setbgcolor.c
+++ b/nuttx/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 <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 */