[MPlayer-cvslog] r33429 - trunk/sub/font_load.c
reimar
subversion at mplayerhq.hu
Sat May 7 22:46:32 CEST 2011
Author: reimar
Date: Sat May 7 22:46:32 2011
New Revision: 33429
Log:
Remove unused version variable, replace it by comment
explaining why the bitmap font version no longer is relevant.
Modified:
trunk/sub/font_load.c
Modified: trunk/sub/font_load.c
==============================================================================
--- trunk/sub/font_load.c Sat May 7 22:43:19 2011 (r33428)
+++ trunk/sub/font_load.c Sat May 7 22:46:32 2011 (r33429)
@@ -75,7 +75,6 @@ char section[64];
int i,j;
int chardb=0;
int fontdb=-1;
-int version=0;
int first=1;
desc=malloc(sizeof(font_desc_t));if(!desc) goto fail_out;
@@ -233,7 +232,9 @@ while(fgets(sor,1020,f)){
continue;
}
if(pdb==2 && strcmp(p[0],"descversion")==0){
- version=atoi(p[1]);
+ // This version field was never used.
+ // Since bitmap fonts are now deprecated there is
+ // no point in handling it.
continue;
}
if(pdb==2 && strcmp(p[0],"spacewidth")==0){
More information about the MPlayer-cvslog
mailing list