summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-10 19:17:04 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-10 19:17:04 +0000
commit51924df0a878f66f83ea5639dcb7a761cfa65772 (patch)
tree38819e3512dcb32baf58d8dfddb5a33583e6ff72 /src
parent782bbf7622cc383881f9acad232fb6dda7d55ab5 (diff)
Make it more readable
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4853 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/hashcomp.cpp4
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;