changeset 32832:d3c28b47ffcd

Add alpha channel value to the ARGB initialization constant for a pixel in the image (although it is zero). (This clarifies the 32-bit / 4 bytes nature of the image.)
author ib
date Thu, 17 Feb 2011 10:17:45 +0000
parents acc4bb6f55e3
children c4891d10ddbb
files gui/skin/font.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/skin/font.c	Thu Feb 17 10:02:25 2011 +0000
+++ b/gui/skin/font.c	Thu Feb 17 10:17:45 2011 +0000
@@ -261,7 +261,7 @@
  obuf=(uint32_t *)item->Bitmap.Image;
  ibuf=(uint32_t *)Fonts[id]->Bitmap.Image;
 
- for ( i=0;i < item->Bitmap.ImageSize / 4;i++ ) obuf[i]=0xff00ff;
+ for ( i=0;i < item->Bitmap.ImageSize / 4;i++ ) obuf[i]=0x00ff00ff;
 
  if ( tw <= iw )
   {