forked from rosebudai/OpenRCT2-Web
Fix wrong #define checks for DEBUG macro
This commit is contained in:
1 parent
546aace3dd
commit
7cb9d10d72
4 files changed
+4
-4
No files matched your search
@@ -357,7 +357,7 @@ namespace String
|
||||
firstNonWhitespace != str)
|
||||
{
|
||||
size_t newStringSize = ch - firstNonWhitespace;
|
||||
#if DEBUG
|
||||
#ifdef DEBUG
|
||||
size_t currentStringSize = String::SizeOf(str);
|
||||
Guard::Assert(newStringSize < currentStringSize, GUARD_LINE);
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user