Mercurial > mplayer.hg
changeset 8978:fc15b08926e0
10l
author | pontscho |
---|---|
date | Sat, 18 Jan 2003 00:43:01 +0000 |
parents | 5c7d92600018 |
children | eaee773aee9c |
files | Gui/skin/font.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Gui/skin/font.c Sat Jan 18 00:22:18 2003 +0000 +++ b/Gui/skin/font.c Sat Jan 18 00:43:01 2003 +0000 @@ -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 ); }