From 51924df0a878f66f83ea5639dcb7a761cfa65772 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 10 Aug 2006 19:17:04 +0000 Subject: Make it more readable git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4853 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/hashcomp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/hashcomp.cpp') 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::operator()(const string &s) const size_t t = 0; static struct hash 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; -- cgit v1.2.3