[Mplayer-cvslog] CVS: main/libvo font_load.c,1.26,1.27

Sascha Sommer CVS syncmail at mplayerhq.hu
Fri Jun 18 15:51:47 CEST 2004


CVS change done by Sascha Sommer CVS

Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv1280/libvo

Modified Files:
	font_load.c 
Log Message:
array initialization fix by SungKwanKang <ksquarekr at yahoo.com>

Index: font_load.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/font_load.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- font_load.c	9 Jun 2003 12:15:47 -0000	1.26
+++ font_load.c	18 Jun 2004 13:51:45 -0000	1.27
@@ -79,7 +79,7 @@
 desc->charspace=2;
 desc->spacewidth=12;
 desc->height=0;
-for(i=0;i<512;i++) desc->start[i]=desc->width[i]=desc->font[i]=-1;
+for(i=0;i<65536;i++) desc->start[i]=desc->width[i]=desc->font[i]=-1;
 
 section[0]=0;
 
@@ -295,7 +295,7 @@
 }
 
 j='_';if(desc->font[j]<0) j='?';
-for(i=0;i<512;i++)
+for(i=0;i<65536;i++)
   if(desc->font[i]<0){
       desc->start[i]=desc->start[j];
       desc->width[i]=desc->width[j];




More information about the MPlayer-cvslog mailing list