diff options
author | michael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2007-02-25 12:27:26 +0000 |
---|---|---|
committer | michael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2007-02-25 12:27:26 +0000 |
commit | 3c851dd7e04640567ad5a738c43727bb40e9103e (patch) | |
tree | d6d80e104d74d26d5d8a67391958e8e362bf5633 /drv_generic_graphic.c | |
parent | 51db519d969ceb3fb82effb49126314ca1d917b0 (diff) | |
download | lcd4linux-3c851dd7e04640567ad5a738c43727bb40e9103e.tar.gz |
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
Diffstat (limited to 'drv_generic_graphic.c')
-rw-r--r-- | drv_generic_graphic.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; |