Commit e3c63633 authored by Dimitri van Heesch's avatar Dimitri van Heesch

fixed compile issue on Linux

parent a189ed0c
...@@ -1910,7 +1910,7 @@ void generateXML() ...@@ -1910,7 +1910,7 @@ void generateXML()
if (len>0) if (len>0)
{ {
QCString s(len+1); QCString s(len+1);
strlcpy(s.data(),startLine,len); qstrncpy(s.data(),startLine,len);
s[len]='\0'; s[len]='\0';
if (s.find("<!-- Automatically insert here the HTML entities -->")!=-1) if (s.find("<!-- Automatically insert here the HTML entities -->")!=-1)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment