changeset 32844:002a3bf7ce85

Remove unused function.
author ib
date Sat, 19 Feb 2011 13:23:16 +0000
parents 084b39f800c7
children 2fdf7550ebb2
files gui/skin/skin.c gui/skin/skin.h
diffstat 2 files changed, 0 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/gui/skin/skin.c	Sat Feb 19 13:20:11 2011 +0000
+++ b/gui/skin/skin.c	Sat Feb 19 13:23:16 2011 +0000
@@ -628,21 +628,6 @@
 
 #define ITEMS (int)( sizeof( skinItem )/sizeof( _item ) )
 
-char * trimleft( char * in )
-{
- int    c = 0;
- char * out;
- if ( strlen( in ) == 0 ) return NULL;
- while ( in[c] == ' ' ) c++;
- if ( c != 0 )
-  {
-   out=malloc( strlen( in ) - c  + 1 );
-   memcpy( out,&in[c],strlen( in ) - c + 1 );
-  }
-  else out=in;
- return out;
-}
-
 char * strswap( char * in,char what,char whereof )
 {
  int    i;
--- a/gui/skin/skin.h	Sat Feb 19 13:20:11 2011 +0000
+++ b/gui/skin/skin.h	Sat Feb 19 13:23:16 2011 +0000
@@ -28,7 +28,6 @@
 
 // ---
 
-char * trimleft( char * in );
 char * strswap( char * in, char what, char whereof );
 char * trim( char * in );