diff options
author | George Hazan <george.hazan@gmail.com> | 2015-05-25 21:52:57 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-05-25 21:52:57 +0000 |
commit | 8b1c37dcd82e24b1249b00395f90b6b4b847563c (patch) | |
tree | 826db85c644c597ab1cfd9e1abab13661d348945 /src | |
parent | 2ee188ce51aed4ac7f88c746f6ee68a91f29bbbf (diff) |
fix for the correct json node validation
git-svn-id: http://svn.miranda-ng.org/main/trunk@13835 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src')
-rw-r--r-- | src/mir_core/src/json/JSONNode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_core/src/json/JSONNode.h b/src/mir_core/src/json/JSONNode.h index 3d7fee9be5..0812a70b71 100644 --- a/src/mir_core/src/json/JSONNode.h +++ b/src/mir_core/src/json/JSONNode.h @@ -519,7 +519,7 @@ inline bool JSONNode::isnull(void) const inline JSONNode::operator bool() const
{
JSON_CHECK_INTERNAL();
- return internal->type() == JSON_NULL;
+ return internal->type() != JSON_NULL;
}
inline const json_char* JSONNode::name(void) const
{
|