aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/tinyxml/tinyxmlerror.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/tinyxml/tinyxmlerror.cpp')
-rw-r--r--engines/wintermute/tinyxml/tinyxmlerror.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/wintermute/tinyxml/tinyxmlerror.cpp b/engines/wintermute/tinyxml/tinyxmlerror.cpp
index d24f63b2e5..ccfe4a039e 100644
--- a/engines/wintermute/tinyxml/tinyxmlerror.cpp
+++ b/engines/wintermute/tinyxml/tinyxmlerror.cpp
@@ -22,6 +22,8 @@ must not be misrepresented as being the original software.
distribution.
*/
+// Modified for use in ScummVM (namespace added)
+
#include "tinyxml.h"
// The goal of the seperate error file is to make the first
@@ -31,6 +33,8 @@ distribution.
// It also cleans up the code a bit.
//
+namespace WinterMute {
+
const char* TiXmlBase::errorString[ TIXML_ERROR_STRING_COUNT ] =
{
"No error",
@@ -51,3 +55,5 @@ const char* TiXmlBase::errorString[ TIXML_ERROR_STRING_COUNT ] =
"Error parsing CDATA.",
"Error when TiXmlDocument added to document, because TiXmlDocument can only be at the root.",
};
+
+} // end of namespace WinterMute