summaryrefslogtreecommitdiff
path: root/games/scorched3d/files/patch-src-XML-XMLParser.cpp
blob: 3b410df25ab4b7b35e7c70d93fbf83f21104b74e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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();
 }