From 021417500e179bda49e08b9a686c45b232958eb0 Mon Sep 17 00:00:00 2001 From: Alam Ed Arias Date: Sat, 7 Oct 2017 19:08:29 -0400 Subject: [PATCH] Do not use Win32's TRUE/FALSE is OS independent code --- src/w_wad.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/w_wad.c b/src/w_wad.c index b4372ec15..4b0eb1918 100644 --- a/src/w_wad.c +++ b/src/w_wad.c @@ -439,7 +439,7 @@ UINT16 W_InitFile(const char *filename) char *s; int c; UINT32 position; - boolean matched = FALSE; + boolean matched = false; lumpinfo_t *lump_p; type = RET_PK3; @@ -463,7 +463,7 @@ UINT16 W_InitFile(const char *filename) s++; if (*s == 0x00) // The array pointer has reached the key char which marks the end. It means we have matched the signature. { - matched = TRUE; + matched = true; CONS_Debug(DBG_SETUP, "Found PK3 central directory at position %ld.\n", ftell(handle)); break; } @@ -471,7 +471,7 @@ UINT16 W_InitFile(const char *filename) } // Error if we couldn't find the central directory at all. It likely means this is not a ZIP/PK3 file. - if (matched == FALSE) + if (matched == false) { CONS_Alert(CONS_ERROR, "No central directory inside PK3! File may be corrupted or incomplete.\n"); return INT16_MAX;