aboutsummaryrefslogtreecommitdiff
path: root/src/hash.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-11-22 06:31:53 +0000
committerMike Buland <eichlan@xagasoft.com>2006-11-22 06:31:53 +0000
commit5cb339f6d3759e566da5ee7eef5d7609570ee8f6 (patch)
tree124908ad391aebc38f8ea5d3143aa42c3f4ce175 /src/hash.cpp
parenta6e4c198a23217f126a5abf759b91382dd829e90 (diff)
downloadlibbu++-5cb339f6d3759e566da5ee7eef5d7609570ee8f6.tar.gz
libbu++-5cb339f6d3759e566da5ee7eef5d7609570ee8f6.tar.bz2
libbu++-5cb339f6d3759e566da5ee7eef5d7609570ee8f6.tar.xz
libbu++-5cb339f6d3759e566da5ee7eef5d7609570ee8f6.zip
Fixed a silly mistake that made the whole thing useless when using strings.
Diffstat (limited to 'src/hash.cpp')
-rw-r--r--src/hash.cpp2
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