summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-06-18 13:51:45 +0000
committerfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-06-18 13:51:45 +0000
commitc281648a95620a91c172f3c3399a44d5e3125dc0 (patch)
treeb693557f34714e97ad71271e796ccba57cc314c6 /libvo
parentc60531e92be8005233eaca7fec1b928457ed95be (diff)
downloadmpv-c281648a95620a91c172f3c3399a44d5e3125dc0.tar.bz2
mpv-c281648a95620a91c172f3c3399a44d5e3125dc0.tar.xz
array initialization fix by SungKwanKang <ksquarekr at yahoo.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12610 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/font_load.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/font_load.c b/libvo/font_load.c
index 0cb14f7516..22a9045e9b 100644
--- a/libvo/font_load.c
+++ b/libvo/font_load.c
@@ -79,7 +79,7 @@ desc->fpath = dn; // search in the same dir as fonts.desc
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 @@ for(i=0;i<=fontdb;i++){
}
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];