diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2015-12-26 18:34:31 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2015-12-26 18:34:31 (GMT) |
commit | bbd71be14986e637af9958b2cc18d1d62743ba8e (patch) | |
tree | c6f685afd48f778d06f3705081a1538541b88e36 | |
parent | b314635856f1fe4a15d70d98d928189f4aefd9cf (diff) | |
download | Doxygen-bbd71be14986e637af9958b2cc18d1d62743ba8e.zip Doxygen-bbd71be14986e637af9958b2cc18d1d62743ba8e.tar.gz Doxygen-bbd71be14986e637af9958b2cc18d1d62743ba8e.tar.bz2 |
Minor change to pycode.l:codifyLines
-rw-r--r-- | src/pycode.l | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pycode.l b/src/pycode.l index 0ba7453..b8ca5ed 100644 --- a/src/pycode.l +++ b/src/pycode.l @@ -527,10 +527,10 @@ static void codifyLines(char *text) } } -static void codifyLines(QCString str) +static void codifyLines(const QCString &str) { - char *tmp= (char *) malloc(str.length()+1); - strcpy(tmp, str); + char *tmp= (char *)malloc(str.length()+1); + qstrcpy(tmp, str); codifyLines(tmp); free(tmp); } |