summaryrefslogtreecommitdiff
path: root/plugins/JSON/Source/JSONWriter.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-02 20:55:18 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-02 20:55:18 +0000
commit78c0815c4118fe24ab78cce2dc48a6232dcd824a (patch)
tree8512c50df70b8dd80c919e88ade3419207c95956 /plugins/JSON/Source/JSONWriter.cpp
parentce816d83a8c75808e0eb06832592bffefe4a8dc4 (diff)
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/JSON/Source/JSONWriter.cpp')
-rw-r--r--plugins/JSON/Source/JSONWriter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/JSON/Source/JSONWriter.cpp b/plugins/JSON/Source/JSONWriter.cpp
index 9b53689002..ce040f57f3 100644
--- a/plugins/JSON/Source/JSONWriter.cpp
+++ b/plugins/JSON/Source/JSONWriter.cpp
@@ -117,13 +117,13 @@ json_string internalJSONNode::Write(unsigned int indent, bool arrayChild){
const bool formatted = indent != 0xFFFFFFFF;
#ifndef JSON_PREPARSE
- if (!(formatted || fetched)){ //It's not formatted or fetched, just do a raw dump
+ if (!(formatted || fetched)) { //It's not formatted or fetched, just do a raw dump
return WriteComment(indent) + WriteName(false, arrayChild) + _string;
}
#endif
//It's either formatted or fetched
- switch (type()){
+ switch (type()) {
case JSON_NODE: //got members, write the members
Fetch();
return WriteComment(indent) + WriteName(formatted, arrayChild) + JSON_TEXT("{") + WriteChildren(indent) + JSON_TEXT("}");