projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Split supertux/options_menu.?pp
[supertux.git]
/
tools
/
miniswig
/
xmlwriter.cpp
diff --git
a/tools/miniswig/xmlwriter.cpp
b/tools/miniswig/xmlwriter.cpp
index
b44635f
..
8a1f228
100644
(file)
--- a/
tools/miniswig/xmlwriter.cpp
+++ b/
tools/miniswig/xmlwriter.cpp
@@
-40,12
+40,12
@@
void XmlWriter::closeTag(const char* name)
const std::string& lastsection = sections.back();
if (lastsection != name) {
std::ostringstream msg;
const std::string& lastsection = sections.back();
if (lastsection != name) {
std::ostringstream msg;
- msg << "mism
ta
ch in open/closeSection. Expected '"
+ msg << "mism
at
ch in open/closeSection. Expected '"
<< lastsection << "' got '" << name << "'";
throw std::runtime_error(msg.str());
}
sections.pop_back();
<< lastsection << "' got '" << name << "'";
throw std::runtime_error(msg.str());
}
sections.pop_back();
-
+
indent--;
newLine();
// XXX: We should check for consistency here
indent--;
newLine();
// XXX: We should check for consistency here
@@
-75,4
+75,3
@@
void XmlWriter::closeTag()
if (closetag != "")
out << closetag << "\n";
}
if (closetag != "")
out << closetag << "\n";
}
-