From eda9214f81b32d9606f425e3777616e8cfc0a44f Mon Sep 17 00:00:00 2001 From: sapier Date: Sun, 6 Apr 2014 15:12:04 +0200 Subject: Bunch of small fixes (coding style, very unlikely errors, warning messages) --- src/settings.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/settings.h') diff --git a/src/settings.h b/src/settings.h index 53e8d8ef5..13c8e1e65 100644 --- a/src/settings.h +++ b/src/settings.h @@ -37,6 +37,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include #include #include "filesys.h" +#include enum ValueType { @@ -575,7 +576,7 @@ public: u32 getFlagStr(std::string name, FlagDesc *flagdesc, u32 *flagmask) { std::string val = get(name); - return (isdigit(val[0])) ? stoi(val) : + return (std::isdigit(val[0])) ? stoi(val) : readFlagString(val, flagdesc, flagmask); } -- cgit v1.2.3