this is probably the last of the fixes for the night

This commit is contained in:
DarthArgus
2015-10-14 01:28:37 -05:00
parent b61c932498
commit 338e4e68b5
4 changed files with 7 additions and 6 deletions
@@ -155,7 +155,7 @@ inline int UpperHashString(char *string)
int h = 0;
while (*string != 0)
{
h = ((31 * h) + (*string >= 'a' && *string <= 'z') ? (*string - 0x20) : *string) ^ (h >> 26);
h = ((31 * h) + ((((*string >= 'a' && *string <= 'z') ? (*string - 0x20) : *string)) ^ (h >> 26)));
string++;
}
return(h);