diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-01-13 14:22:31 +0300 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-01-13 14:22:31 +0300 |
commit | 57201187de74da42437dfa984a6cd36fe663a5e4 (patch) | |
tree | 303a3e4ab297c1dcf0cb81236f012db96ac5f78d /src/text/Text.h | |
parent | 4097c20bdd66d03e0be454f1834e2d1bd4c54443 (diff) |
Fix build without FIX_BUGS, divide to 0 fixes
Diffstat (limited to 'src/text/Text.h')
-rw-r--r-- | src/text/Text.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/text/Text.h b/src/text/Text.h index ed978a8b..ab6d1809 100644 --- a/src/text/Text.h +++ b/src/text/Text.h @@ -7,7 +7,7 @@ void TextCopy(wchar *dst, const wchar *src); struct CKeyEntry { -#ifdef FIX_BUGS +#if defined(FIX_BUGS) || defined(FIX_BUGS_64) uint32 valueOffset; #else wchar *value; @@ -30,7 +30,7 @@ public: void Unload(void); void Update(wchar *chars); CKeyEntry *BinarySearch(const char *key, CKeyEntry *entries, int16 low, int16 high); -#ifdef FIX_BUGS +#if defined (FIX_BUGS) || defined(FIX_BUGS_64) wchar *Search(const char *key, wchar *data); #else wchar *Search(const char *key); |