summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-12-15 07:25:49 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-12-15 07:25:49 -0600
commit992b35d346a8c9bba82fb51cc43dc8da9b0ba038 (patch)
treedaa840bf0c0229ec250dadce20e4edc2b75fa9d4
parenta25b672daf2fddc82012e014aa12b52cf55a4fda (diff)
downloadnuttx-992b35d346a8c9bba82fb51cc43dc8da9b0ba038.tar.gz
nuttx-992b35d346a8c9bba82fb51cc43dc8da9b0ba038.tar.bz2
nuttx-992b35d346a8c9bba82fb51cc43dc8da9b0ba038.zip
NxConsole: Fix typo that caused compile error when CONFIG_NXCONSOLE_BPP is less than 8. From Librae
-rw-r--r--nuttx/ChangeLog2
-rw-r--r--nuttx/graphics/nxconsole/nxcon_font.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog
index 823440068..c0e117553 100644
--- a/nuttx/ChangeLog
+++ b/nuttx/ChangeLog
@@ -6226,4 +6226,6 @@
* fs/procfs/procfs_utils.c: Move some re-usable functions out of
fs_procfsproc.c into a utility file (2013-12-14).
* fs/procfs/fs_procfsuptime.c: Supports /proc/uptime (2013-12-14).
+ * graphics/nxconsole/nxcon_font.c: Fix a typo that causes a compile
+ error when CONFIG_NXCONSOLE_BPP < 8. From Librae (2013-12-15).
diff --git a/nuttx/graphics/nxconsole/nxcon_font.c b/nuttx/graphics/nxconsole/nxcon_font.c
index 2bdf21cf6..b696b266d 100644
--- a/nuttx/graphics/nxconsole/nxcon_font.c
+++ b/nuttx/graphics/nxconsole/nxcon_font.c
@@ -257,7 +257,7 @@ nxcon_renderglyph(FAR struct nxcon_state_s *priv,
*/
#if CONFIG_NXCONSOLE_BPP < 8
- pixel = priv->wcolor[0];
+ pixel = priv->wndo.wcolor[0];
# if CONFIG_NXCONSOLE_BPP == 1