diff --git a/SelectableCore.cpp b/SelectableCore.cpp index 814f2e5..62a6a6f 100644 --- a/SelectableCore.cpp +++ b/SelectableCore.cpp @@ -25,6 +25,7 @@ // redA Libraries #include "ApplicationCore.h" #include "SelectableCore.h" +#include "UtilCore.h" //--------------------------------------------------------------------------- diff --git a/SelectableCore.h b/SelectableCore.h index 67a8207..bfdc5ea 100644 --- a/SelectableCore.h +++ b/SelectableCore.h @@ -223,13 +223,6 @@ protected: // Buffer operations virtual bool ProcessInputBuffer( THandle * Handle, bool Force ); - // Convert string to lower case - inline char * strlcase( char * Str ) { - for (char * Ch = Str; *Ch; Ch++ ) - *Ch = tolower(*Ch); - return Str; - } - public: // Life Cycle CSelectableBare( const char * Name, const char * Type = TYPE_SELECTABLE ); diff --git a/UtilCore.h b/UtilCore.h index d5072bb..1a8f568 100644 --- a/UtilCore.h +++ b/UtilCore.h @@ -9,7 +9,7 @@ #define REDACORE_UTILCORE_H_ // Standard C/C++ Libraries -/* none */ +#include // redA Libraries /* none */ @@ -36,6 +36,14 @@ char * BinStrToBytes( const char * Str, const int Len, const char * Separator = // Search string data char * StrSearch( const char * Haystack, const char * Needle, const int hLen = 0, const int nLen = 0 ); +// Convert string to lower case +inline char * strlcase( char * Str ) { + for (char * Ch = Str; *Ch; Ch++ ) + *Ch = tolower(*Ch); + return Str; +} + + //--------------------------------------------------------------------------- #endif /* REDACORE_UTILCORE_H_ */