changeset 12609:4be019266884

array initialization fix by SungKwanKang <ksquarekr at yahoo.com>
author faust3
date Fri, 18 Jun 2004 13:51:45 +0000
parents fbd18fae40f1
children 7992cd49a698
files libvo/font_load.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/font_load.c	Fri Jun 18 13:01:18 2004 +0000
+++ b/libvo/font_load.c	Fri Jun 18 13:51:45 2004 +0000
@@ -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];