[Mplayer-cvslog] CVS: main/Gui/skin font.c,1.14,1.15
Zoltan Ponekker
pontscho at mplayerhq.hu
Sat Jan 18 01:43:06 CET 2003
Update of /cvsroot/mplayer/main/Gui/skin
In directory mail:/var/tmp.root/cvs-serv7718
Modified Files:
font.c
Log Message:
10l
Index: font.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/skin/font.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- font.c 17 Jan 2003 22:39:41 -0000 1.14
+++ font.c 18 Jan 2003 00:43:01 -0000 1.15
@@ -176,6 +176,7 @@
item->Bitmap.Height=item->height=fntTextHeight( id,p );
item->Bitmap.Width=iw;
item->Bitmap.ImageSize=item->height * iw * 4;
+ if ( !item->Bitmap.ImageSize ) return NULL;
item->Bitmap.BPP=32;
item->Bitmap.Image=malloc( item->Bitmap.ImageSize );
}
More information about the MPlayer-cvslog
mailing list