diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2010-06-04 15:47:22 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-06-04 15:47:22 +0200 |
commit | 927993863eda325c66fc678810eeadd0c744cdf2 (patch) | |
tree | be5904648e83b3ff0bedf71e87f1fc32868e00e3 /foreign | |
parent | 621d7415b3cdee1f79787e2961f113b00d237615 (diff) |
MSVC build fixed
Diffstat (limited to 'foreign')
-rw-r--r-- | foreign/xmlParser/xmlParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/foreign/xmlParser/xmlParser.cpp b/foreign/xmlParser/xmlParser.cpp index bccfaf7..ccb1e17 100644 --- a/foreign/xmlParser/xmlParser.cpp +++ b/foreign/xmlParser/xmlParser.cpp @@ -421,7 +421,7 @@ XMLNode XMLNode::openFileHelper(XMLCSTR filename, XMLCSTR tag) // create message char message[2000],*s1=(char*)"",*s3=(char*)""; XMLCSTR s2=_CXML(""); if (pResults.error==eXMLErrorFirstTagNotFound) { s1=(char*)"First Tag should be '"; s2=tag; s3=(char*)"'.\n"; } - snprintf(message,2000, + sprintf(message, #ifdef _XMLWIDECHAR "XML Parsing error inside file '%S'.\n%S\nAt line %i, column %i.\n%s%S%s" #else |