From 708d358460724d37e671e5f2a95353010135b0db Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 22 Nov 2006 06:33:42 +0000 Subject: Yup, slightly more optimized, still works. --- src/hash.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hash.cpp b/src/hash.cpp index d477aff..3fb4f52 100644 --- a/src/hash.cpp +++ b/src/hash.cpp @@ -45,7 +45,7 @@ template<> bool __cmpHashKeys( const char *a, const char *b ) return true; for(; *a == *b; a++, b++ ) - if( *a == '\0' && *b == '\0' ) + if( *a == '\0' ) return true; return false; -- cgit v1.2.3