changeset 32802:e310b1833cbe

Fix usage of wrong variable. ptmp, not tmp points to the data.
author ib
date Fri, 11 Feb 2011 13:17:08 +0000
parents ed61ab815888
children fff5aa81d90e
files gui/skin/font.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 );