1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-30 02:52:10 +00:00

array initialization fix by SungKwanKang <ksquarekr at yahoo.com>

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12610 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
faust3 2004-06-18 13:51:45 +00:00
parent c60531e92b
commit c281648a95

View File

@ -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];