From 3c851dd7e04640567ad5a738c43727bb40e9103e Mon Sep 17 00:00:00 2001 From: michael Date: Sun, 25 Feb 2007 12:27:26 +0000 Subject: lots of compiler warnings removed, C++-style comments removed, changed struc initialisation from 'field:value' to '.field=value' git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@771 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- drv_generic_graphic.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'drv_generic_graphic.c') diff --git a/drv_generic_graphic.c b/drv_generic_graphic.c index b82de0f..af4ae31 100644 --- a/drv_generic_graphic.c +++ b/drv_generic_graphic.c @@ -81,10 +81,10 @@ #endif /* pixel colors */ -RGBA FG_COL = { R: 0x00, G: 0x00, B: 0x00, A:0xff }; -RGBA BG_COL = { R: 0xff, G: 0xff, B: 0xff, A:0xff }; -RGBA BL_COL = { R: 0xff, G: 0xff, B: 0xff, A:0x00 }; -RGBA NO_COL = { R: 0x00, G: 0x00, B: 0x00, A:0x00 }; +RGBA FG_COL = {.R = 0x00,.G = 0x00,.B = 0x00,.A = 0xff }; +RGBA BG_COL = {.R = 0xff,.G = 0xff,.B = 0xff,.A = 0xff }; +RGBA BL_COL = {.R = 0xff,.G = 0xff,.B = 0xff,.A = 0x00 }; +RGBA NO_COL = {.R = 0x00,.G = 0x00,.B = 0x00,.A = 0x00 }; static char *Section = NULL; static char *Driver = NULL; -- cgit v1.2.3