From dcbb2fcfbdbd3b35ddc44a4c542b7c6375e47214 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Mon, 15 Aug 2016 14:54:45 +0100 Subject: Full Unicode Support --- src/common.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/common.cpp') 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; -- cgit v1.2.3