diff options
Diffstat (limited to '')
-rw-r--r-- | src/hash.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash.cpp b/src/hash.cpp index a32fa2a..d477aff 100644 --- a/src/hash.cpp +++ b/src/hash.cpp | |||
@@ -44,7 +44,7 @@ template<> bool __cmpHashKeys<const char *>( const char *a, const char *b ) | |||
44 | if( a == b ) | 44 | if( a == b ) |
45 | return true; | 45 | return true; |
46 | 46 | ||
47 | for(; *a != *b; a++, b++ ) | 47 | for(; *a == *b; a++, b++ ) |
48 | if( *a == '\0' && *b == '\0' ) | 48 | if( *a == '\0' && *b == '\0' ) |
49 | return true; | 49 | return true; |
50 | 50 | ||