diff options
| author | gingerBill <ginger.bill.22@gmail.com> | 2016-08-15 14:54:45 +0100 |
|---|---|---|
| committer | gingerBill <ginger.bill.22@gmail.com> | 2016-08-15 15:02:45 +0100 |
| commit | dcbb2fcfbdbd3b35ddc44a4c542b7c6375e47214 (patch) | |
| tree | 1670d1ea683c78be063649685c601a17c1dcb025 /src/common.cpp | |
| parent | 3ed75b22a357292393618fc684b18a1d167f4eb7 (diff) | |
Full Unicode Support
Diffstat (limited to 'src/common.cpp')
| -rw-r--r-- | src/common.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common.cpp b/src/common.cpp index 9279c1772..7d88e3d8b 100644 --- a/src/common.cpp +++ b/src/common.cpp @@ -34,6 +34,7 @@ gb_inline HashKey hash_pointer(void *ptr) { b32 hash_key_equal(HashKey a, HashKey b) { if (a.key == b.key) { + // NOTE(bill): If two string's hashes collide, compare the strings themselves if (a.is_string) { if (b.is_string) return are_strings_equal(a.string, b.string); return false; |