[MPlayer-cvslog] r32889 - trunk/gui/skin/font.c
ib
subversion at mplayerhq.hu
Fri Feb 11 14:17:08 CET 2011
Author: ib
Date: Fri Feb 11 14:17:08 2011
New Revision: 32889
Log:
Fix usage of wrong variable.
ptmp, not tmp points to the data.
Modified:
trunk/gui/skin/font.c
Modified: trunk/gui/skin/font.c
==============================================================================
--- trunk/gui/skin/font.c Fri Feb 11 14:10:03 2011 (r32888)
+++ trunk/gui/skin/font.c Fri Feb 11 14:17:08 2011 (r32889)
@@ -90,7 +90,7 @@ int fntRead( char * path,char * fname )
if ( tmp[c] == ';' ) { tmp[c]=0; break; }
if ( !tmp[0] ) continue;
ptmp=trimleft( tmp );
- if ( !tmp[0] ) continue;
+ if ( !ptmp[0] ) continue;
ptmp=strswap( ptmp,'\t',' ' );
ptmp=trim( ptmp );
cutItem( ptmp,command,'=',0 ); cutItem( ptmp,param,'=',1 );
More information about the MPlayer-cvslog
mailing list