mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 03:23:15 +01:00
Fix wrong #define checks for DEBUG macro
This commit is contained in:
@@ -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