From 5148560898af7694dcd8651edb11bfa4c45104aa Mon Sep 17 00:00:00 2001 From: Habu Date: Tue, 1 Feb 2022 00:20:35 +0900 Subject: [PATCH] [Refactor] Use built-in literals for bool types Since the code base is C++, as a rule, we do not use the TRUE/FALSE macro for the bool type, but use the true/false literal instead. --- src/main-gcu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main-gcu.cpp b/src/main-gcu.cpp index 0d11b6f5b..3c4b41ecb 100644 --- a/src/main-gcu.cpp +++ b/src/main-gcu.cpp @@ -1240,12 +1240,12 @@ errr init_gcu(int argc, char *argv[]) /* Extract the normal keymap */ keymap_norm_prepare(); - bool nobigscreen = FALSE; + bool nobigscreen = false; /* Parse args */ for (i = 1; i < argc; i++) { if (prefix(argv[i], "-o")) { - nobigscreen = TRUE; + nobigscreen = true; } } -- 2.11.0