X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=tools%2Fminiswig%2Fxmlwriter.cpp;h=8a1f228ffb4c8ccc294f93f330abcc4f3a9cd33f;hb=4eff38d2a777e7a889428eadbef0d1eae7d35db0;hp=b44635f174249ccb3a803b5f69f8fec382e3ff5e;hpb=74863ab9562536398b7f15861f30075758ab4285;p=supertux.git diff --git a/tools/miniswig/xmlwriter.cpp b/tools/miniswig/xmlwriter.cpp index b44635f17..8a1f228ff 100644 --- 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; - msg << "mismtach in open/closeSection. Expected '" + msg << "mismatch in open/closeSection. Expected '" << lastsection << "' got '" << name << "'"; throw std::runtime_error(msg.str()); } sections.pop_back(); - + indent--; newLine(); // XXX: We should check for consistency here @@ -75,4 +75,3 @@ void XmlWriter::closeTag() if (closetag != "") out << closetag << "\n"; } -