diff gui/skin/font.c @ 33582:d9a4365d1006

gui: Rename TRANSPARENT #define to MP_TRANSPARENT. TRANSPARENT is defined in windows.h and clashes for the Win32 GUI.
author diego
date Sun, 19 Jun 2011 17:33:11 +0000
parents c5a19bbeac2b
children 34e85af9e80f
line wrap: on
line diff
--- a/gui/skin/font.c	Sun Jun 19 17:33:06 2011 +0000
+++ b/gui/skin/font.c	Sun Jun 19 17:33:11 2011 +0000
@@ -312,7 +312,7 @@
     ibuf = (uint32_t *)Fonts[id]->Bitmap.Image;
 
     for (i = 0; i < item->Bitmap.ImageSize / 4; i++)
-        obuf[i] = TRANSPARENT;
+        obuf[i] = MP_TRANSPARENT;
 
     if (tw <= iw) {
         switch (item->align) {