Author: cwittich
Date: Thu Jan 24 19:17:26 2008
New Revision: 31969
URL:
http://svn.reactos.org/svn/reactos?rev=31969&view=rev
Log:
use explicit braces to make gcc happy
Modified:
trunk/reactos/base/shell/explorer/utility/xmlstorage.h
Modified: trunk/reactos/base/shell/explorer/utility/xmlstorage.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/utilit…
==============================================================================
--- trunk/reactos/base/shell/explorer/utility/xmlstorage.h (original)
+++ trunk/reactos/base/shell/explorer/utility/xmlstorage.h Thu Jan 24 19:17:26 2008
@@ -2639,9 +2639,10 @@
_out << _format._endl;
if (_format._pretty == PRETTY_INDENT)
+ {
for(size_t i=_stack.size(); --i>0; )
_out << XML_INDENT_SPACE;
-
+ }
_out << '<' << EncodeXMLString(entry._node_name);
//entry._state = PRE;
}
@@ -2670,9 +2671,10 @@
_out << _format._endl;
if (_format._pretty==PRETTY_INDENT && entry._content.empty())
+ {
for(size_t i=_stack.size(); --i>0; )
_out << XML_INDENT_SPACE;
-
+ }
_out << "</" << EncodeXMLString(entry._node_name) <<
">";
} else {
_out << "/>";