diff options
Diffstat (limited to 'src/hashcomp.cpp')
-rw-r--r-- | src/hashcomp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hashcomp.cpp b/src/hashcomp.cpp index bf90eaeb8..ac51cafe8 100644 --- a/src/hashcomp.cpp +++ b/src/hashcomp.cpp @@ -91,8 +91,8 @@ size_t nspace::hash<string>::operator()(const string &s) const size_t t = 0; static struct hash<const char *> strhash; - for (const char* x = s.c_str(); *x; x++, t++) /* Faster to do it this way than */ - a[t] = lowermap[(unsigned char)*x]; /* Seperate strlcpy and strlower */ + for (const char* x = s.c_str(); *x; x++) /* Faster to do it this way than */ + a[t++] = lowermap[(unsigned char)*x]; /* Seperate strlcpy and strlower */ a[t] = 0; |