From 66f330331b7ecbd9c23a1179a64e821bc3dcbdf4 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 15 Dec 2013 07:25:49 -0600 Subject: [PATCH] NxConsole: Fix typo that caused compile error when CONFIG_NXCONSOLE_BPP is less than 8. From Librae --- ChangeLog | 2 ++ graphics/nxconsole/nxcon_font.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 823440068e..c0e117553e 100644 --- a/ChangeLog +++ b/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/graphics/nxconsole/nxcon_font.c b/graphics/nxconsole/nxcon_font.c index 2bdf21cf6c..b696b266dc 100644 --- a/graphics/nxconsole/nxcon_font.c +++ b/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