mirror of
https://bitbucket.org/seefoe/src.git
synced 2026-08-01 02:15:47 -04:00
more sequence/order of operations stuff
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user