aboutsummaryrefslogtreecommitdiff
path: root/src/common.cpp
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2016-09-19 22:26:07 +0100
committerGinger Bill <bill@gingerbill.org>2016-09-19 22:26:07 +0100
commit3b266b194f36507208b6f90145475d93b53896ee (patch)
tree1e35cd6180d220614ca6553cfe5678122570c85e /src/common.cpp
parent9561dc33cef4c5881034d429524a0498331a740e (diff)
enum_to_string fix; enum count, min_value, max_value
Diffstat (limited to 'src/common.cpp')
-rw-r--r--src/common.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.cpp b/src/common.cpp
index db0a6ebdb..bbad5b845 100644
--- a/src/common.cpp
+++ b/src/common.cpp
@@ -51,7 +51,7 @@ 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);
+ if (b.is_string) return a.string == b.string;
return false;
}
return true;