aboutsummaryrefslogtreecommitdiff
path: root/src/common.cpp
diff options
context:
space:
mode:
authorgingerBill <ginger.bill.22@gmail.com>2016-08-15 14:54:45 +0100
committergingerBill <ginger.bill.22@gmail.com>2016-08-15 15:02:45 +0100
commitdcbb2fcfbdbd3b35ddc44a4c542b7c6375e47214 (patch)
tree1670d1ea683c78be063649685c601a17c1dcb025 /src/common.cpp
parent3ed75b22a357292393618fc684b18a1d167f4eb7 (diff)
Full Unicode Support
Diffstat (limited to 'src/common.cpp')
-rw-r--r--src/common.cpp1
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;