Make it more readable

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4853 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
brain 2006-08-10 19:17:04 +00:00
parent 782bbf7622
commit 51924df0a8

View File

@ -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;