summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)
{