Permalink
Browse files

Minor change to pycode.l:codifyLines

  • Loading branch information...
Dimitri van Heesch
Dimitri van Heesch committed Dec 26, 2015
1 parent b314635 commit bbd71be14986e637af9958b2cc18d1d62743ba8e
Showing with 3 additions and 3 deletions.
  1. +3 −3 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);
}

0 comments on commit bbd71be

Please sign in to comment.