Skip to content

Commit

Permalink
Minor change to pycode.l:codifyLines
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri van Heesch committed Dec 26, 2015
1 parent b314635 commit bbd71be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pycode.l
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit bbd71be

Please sign in to comment.