From 5cb339f6d3759e566da5ee7eef5d7609570ee8f6 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 22 Nov 2006 06:31:53 +0000 Subject: Fixed a silly mistake that made the whole thing useless when using strings. --- src/hash.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/hash.cpp') 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 *a, const char *b ) if( a == b ) return true; - for(; *a != *b; a++, b++ ) + for(; *a == *b; a++, b++ ) if( *a == '\0' && *b == '\0' ) return true; -- cgit v1.2.3