From 6bc3a43d52c04b6a91787bcb49d0044f1452fc4e Mon Sep 17 00:00:00 2001 From: PilzAdam Date: Mon, 8 Jul 2013 01:58:22 +0200 Subject: Settings: everything != 0 equals true; remove .asm shaders --- src/util/string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util/string.h') diff --git a/src/util/string.h b/src/util/string.h index 6c48adeb3..d8cedc3e8 100644 --- a/src/util/string.h +++ b/src/util/string.h @@ -146,7 +146,7 @@ inline std::string lowercase(const std::string &s) inline bool is_yes(const std::string &s) { std::string s2 = lowercase(trim(s)); - if(s2 == "y" || s2 == "yes" || s2 == "true" || s2 == "1") + if(s2 == "y" || s2 == "yes" || s2 == "true" || atoi(s2.c_str()) != 0) return true; return false; } -- cgit v1.2.3