diff options
Diffstat (limited to 'libemailfunctions/kasciistricmp.cpp')
-rw-r--r-- | libemailfunctions/kasciistricmp.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libemailfunctions/kasciistricmp.cpp b/libemailfunctions/kasciistricmp.cpp index 1a66a52b5..2852bb42a 100644 --- a/libemailfunctions/kasciistricmp.cpp +++ b/libemailfunctions/kasciistricmp.cpp @@ -20,7 +20,7 @@ #if ! KDE_IS_VERSION(3,3,89) -static unsigned char kdepim_ASCIIToLower( unsigned char ch ) +static unsigned char tdepim_ASCIIToLower( unsigned char ch ) { if ( ch >= 'A' && ch <= 'Z' ) return ch - 'A' + 'a'; @@ -28,7 +28,7 @@ static unsigned char kdepim_ASCIIToLower( unsigned char ch ) return ch; } -int kdepim_kasciistricmp( const char *str1, const char *str2 ) +int tdepim_kasciistricmp( const char *str1, const char *str2 ) { const unsigned char *s1 = (const unsigned char *) str1; const unsigned char *s2 = (const unsigned char *) str2; @@ -37,7 +37,7 @@ int kdepim_kasciistricmp( const char *str1, const char *str2 ) if ( !s1 || !s2 ) return s1 ? 1 : ( s2 ? -1 : 0 ); - for ( ; !( res = ( c = kdepim_ASCIIToLower( *s1 ) ) - kdepim_ASCIIToLower( *s2 ) ); + for ( ; !( res = ( c = tdepim_ASCIIToLower( *s1 ) ) - tdepim_ASCIIToLower( *s2 ) ); ++s1, ++s2 ) if ( !c ) // strings are equal break; |