#303: Typo fixes from mathnerd314
[supertux.git] / tools / miniswig / xmlwriter.cpp
index 1a85247..8a1f228 100644 (file)
@@ -2,7 +2,7 @@
 
 #include <stdexcept>
 #include <sstream>
-#include "xmlwriter.h"
+#include "xmlwriter.hpp"
 
 XmlWriter::XmlWriter(std::ostream& outstream)
     : out(outstream), indent(0)
@@ -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";
 }
-