fix order of ops

This commit is contained in:
DarthArgus
2015-10-14 01:53:26 -05:00
parent 338e4e68b5
commit c53ec57f80
2 changed files with 2 additions and 2 deletions
@@ -614,7 +614,7 @@ inline int UpperHashString(const 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);