aboutsummaryrefslogtreecommitdiff
path: root/games/scorched3d/files/patch-src-XML-XMLParser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'games/scorched3d/files/patch-src-XML-XMLParser.cpp')
-rw-r--r--games/scorched3d/files/patch-src-XML-XMLParser.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/scorched3d/files/patch-src-XML-XMLParser.cpp b/games/scorched3d/files/patch-src-XML-XMLParser.cpp
new file mode 100644
index 000000000000..3b410df25ab4
--- /dev/null
+++ b/games/scorched3d/files/patch-src-XML-XMLParser.cpp
@@ -0,0 +1,11 @@
+--- src/XML/XMLParser.cpp.orig Sun May 30 21:18:51 2004
++++ src/XML/XMLParser.cpp Sun May 30 21:19:29 2004
+@@ -28,7 +28,7 @@
+ static const char *getSpacer(int space)
+ {
+ static std::string spacestr;
+- spacestr.clear();
++ spacestr.erase();
+ for (int i=0; i<space; i++) spacestr+="\t";
+ return spacestr.c_str();
+ }