summaryrefslogtreecommitdiff
path: root/src/modules/xml
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-08-19 19:04:33 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-08-19 19:04:33 +0000
commit664200e644b45e52c70affa1c036d7366474ae9d (patch)
treed05be80055dae5be865e2a56c14d7f6d0ad0fa06 /src/modules/xml
parent857add6ec30c59d98482c21c60e13f8c3adb89e9 (diff)
core *printf patch
git-svn-id: http://svn.miranda-ng.org/main/trunk@5750 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/xml')
-rw-r--r--src/modules/xml/xmlParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/xml/xmlParser.cpp b/src/modules/xml/xmlParser.cpp
index af3f7d92e1..7407fa908c 100644
--- a/src/modules/xml/xmlParser.cpp
+++ b/src/modules/xml/xmlParser.cpp
@@ -402,7 +402,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"; }
- sprintf(message,
+ mir_snprintf(message, SIZEOF(message),
#ifdef _XMLWIDECHAR
"XML Parsing error inside file '%S'.\n%S\nAt line %i, column %i.\n%s%S%s"
#else