Loading common/string.cpp +16 −0 Original line number Diff line number Diff line Loading @@ -372,3 +372,19 @@ char* strupper( char* Text ) return Text; } /********************************/ char* strlower( char* text ) /********************************/ { char* start = text; while( *text ) { if( *text >= 'A' && *text <= 'Z' ) *text -= 'A' - 'a'; text++; } return start; } include/common.h +1 −0 Original line number Diff line number Diff line Loading @@ -491,6 +491,7 @@ wxString FindKicadFile( const wxString& shortname ); /* STRING.CPP */ /*************/ char* strupper( char* Text ); char* strlower( char* Text ); int ReadDelimitedText( char* dest, char* source, int NbMaxChar ); Loading Loading
common/string.cpp +16 −0 Original line number Diff line number Diff line Loading @@ -372,3 +372,19 @@ char* strupper( char* Text ) return Text; } /********************************/ char* strlower( char* text ) /********************************/ { char* start = text; while( *text ) { if( *text >= 'A' && *text <= 'Z' ) *text -= 'A' - 'a'; text++; } return start; }
include/common.h +1 −0 Original line number Diff line number Diff line Loading @@ -491,6 +491,7 @@ wxString FindKicadFile( const wxString& shortname ); /* STRING.CPP */ /*************/ char* strupper( char* Text ); char* strlower( char* Text ); int ReadDelimitedText( char* dest, char* source, int NbMaxChar ); Loading