From bf278aaa996c69b6e3587f673a1e9a479adad05c Mon Sep 17 00:00:00 2001 From: kevin <kpl@larke.org> Date: Thu, 28 Mar 2013 23:20:27 -0700 Subject: [PATCH] cmJson.c:Added case kBoolTId to switch in cmJsonMemberValues() kBoolTId can now be used as a type rather than only kTrueTId or kFalseTId to identify boolean values. --- cmJson.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cmJson.c b/cmJson.c index 0963112..b34399f 100644 --- a/cmJson.c +++ b/cmJson.c @@ -1631,6 +1631,7 @@ cmJsRC_t cmJsonVMemberValues( const cmJsonNode_t* objectNodePtr, const char case kTrueTId: case kFalseTId: + case kBoolTId: { bool* bp = va_arg(vl, bool* ); rc = cmJsonBoolMember(objectNodePtr, label, bp);