diff options
Diffstat (limited to 'src/pycode.l')
-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); } |