summaryrefslogtreecommitdiffstats
path: root/src/xmlgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-02-10 20:50:01 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-02-10 20:50:01 (GMT)
commite3c636337323ba6e3f21bf1e8cfe2a899a8890c1 (patch)
tree56f399774f719a4ff4e47d161330735ec0d9e8aa /src/xmlgen.cpp
parenta189ed0ce896598ed961649f0cdfba625caec548 (diff)
downloadDoxygen-e3c636337323ba6e3f21bf1e8cfe2a899a8890c1.zip
Doxygen-e3c636337323ba6e3f21bf1e8cfe2a899a8890c1.tar.gz
Doxygen-e3c636337323ba6e3f21bf1e8cfe2a899a8890c1.tar.bz2
fixed compile issue on Linux
Diffstat (limited to 'src/xmlgen.cpp')
-rw-r--r--src/xmlgen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp
index bb0925e..3a9e2ef 100644
--- a/src/xmlgen.cpp
+++ b/src/xmlgen.cpp
@@ -1910,7 +1910,7 @@ void generateXML()
if (len>0)
{
QCString s(len+1);
- strlcpy(s.data(),startLine,len);
+ qstrncpy(s.data(),startLine,len);
s[len]='\0';
if (s.find("<!-- Automatically insert here the HTML entities -->")!=-1)
{