From 542a5393acae66a9add32c195939b058bf154b15 Mon Sep 17 00:00:00 2001 From: erorcun Date: Wed, 13 Jan 2021 03:08:50 +0300 Subject: Fix build without FIX_BUGS, divide to 0 fixes --- src/text/Text.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/text/Text.h') diff --git a/src/text/Text.h b/src/text/Text.h index 33dc313e..1174216c 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, uint8 *result); #else wchar *Search(const char *key, uint8* result); -- cgit v1.2.3