summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2015-12-26 18:34:31 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2015-12-26 18:34:31 (GMT)
commitbbd71be14986e637af9958b2cc18d1d62743ba8e (patch)
treec6f685afd48f778d06f3705081a1538541b88e36
parentb314635856f1fe4a15d70d98d928189f4aefd9cf (diff)
downloadDoxygen-bbd71be14986e637af9958b2cc18d1d62743ba8e.zip
Doxygen-bbd71be14986e637af9958b2cc18d1d62743ba8e.tar.gz
Doxygen-bbd71be14986e637af9958b2cc18d1d62743ba8e.tar.bz2
Minor change to pycode.l:codifyLines
-rw-r--r--src/pycode.l6
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);
}