summaryrefslogtreecommitdiffstats
path: root/Gui/skin/font.c
diff options
context:
space:
mode:
Diffstat (limited to 'Gui/skin/font.c')
-rw-r--r--Gui/skin/font.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Gui/skin/font.c b/Gui/skin/font.c
index ca369a10d1..fdeaf234fc 100644
--- a/Gui/skin/font.c
+++ b/Gui/skin/font.c
@@ -73,10 +73,10 @@ int fntRead( char * path,char * fname )
for ( c=0;c < (int)strlen( tmp );c++ )
if ( tmp[c] == ';' ) { tmp[c]=0; break; }
if ( !tmp[0] ) continue;
- ptmp=strdelspacesbeforecommand( tmp );
+ ptmp=trimleft( tmp );
if ( !tmp[0] ) continue;
ptmp=strswap( ptmp,'\t',' ' );
- ptmp=strdelspaces( ptmp );
+ ptmp=trim( ptmp );
cutItem( ptmp,command,'=',0 ); cutItem( ptmp,param,'=',1 );
if ( command[0] == '"' )
{