From 052a8e033c345e9b6a9449023aaeb3a2f0f72086 Mon Sep 17 00:00:00 2001
From: Joel Bodenmann <joel@unormal.org>
Date: Fri, 8 Aug 2014 14:04:49 +0200
Subject: Fixing color in gwin widgets demo

---
 demos/modules/gwin/widgets/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/demos/modules/gwin/widgets/main.c b/demos/modules/gwin/widgets/main.c
index 641625e6..783ed548 100644
--- a/demos/modules/gwin/widgets/main.c
+++ b/demos/modules/gwin/widgets/main.c
@@ -194,7 +194,7 @@ static void createWidgets(void) {
 	wi.g.width = ScrWidth/2 - 2*border;
 	ghConsole = gwinConsoleCreate(0, &wi.g);
     gwinSetColor(ghConsole, Black);
-    gwinSetBgColor(ghConsole, 0xF0F0F0);
+    gwinSetBgColor(ghConsole, HTML2COLOR(0xF0F0F0));
 
     // Buttons
 	wi.g.parent = ghPgButtons;
-- 
cgit v1.2.3