# HG changeset patch # User ib # Date 1297430228 0 # Node ID e310b1833cbed4d799b45681e1e504c01b4e298f # Parent ed61ab815888602f5cad6062f9836f86e25f3317 Fix usage of wrong variable. ptmp, not tmp points to the data. diff -r ed61ab815888 -r e310b1833cbe gui/skin/font.c --- a/gui/skin/font.c Fri Feb 11 13:10:03 2011 +0000 +++ b/gui/skin/font.c Fri Feb 11 13:17:08 2011 +0000 @@ -90,7 +90,7 @@ 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 );