Fix bug in selector type hashing algorithm. We can't use the numbers, because people don't always provide them correctly.

main
theraven 15 years ago
parent b4eefb5cf2
commit 76d36e88eb

@ -200,8 +200,8 @@ static inline uint32_t hash_selector(const void *s)
{ {
switch (c) switch (c)
{ {
case '0'...'9':
case '@': case 'i': case 'I': case 'l': case 'L': case '@': case 'i': case 'I': case 'l': case 'L':
case 'q': case 'Q': case 's': case 'S':
hash = hash * 33 + c; hash = hash * 33 + c;
} }
} }

Loading…
Cancel
Save