From d982e060ef681ce2f9e3c23e6fd770e722d9d437 Mon Sep 17 00:00:00 2001 From: Tindy X <49061470+tindy2013@users.noreply.github.com> Date: Thu, 23 Jul 2020 10:41:20 +0800 Subject: [PATCH] Fix bad implementation of tribool --- src/misc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/misc.h b/src/misc.h index 926a65b..34c9cd2 100644 --- a/src/misc.h +++ b/src/misc.h @@ -207,7 +207,7 @@ public: { if(_M_VALUE <= 1) return def_value; - return _M_VALUE; + return _M_VALUE == 3; } std::string get_str()