Commit c9d9f72b authored by David Gobbi's avatar David Gobbi

BUG: need to quote backslashes that occur in method signatures

parent cc2bc350
......@@ -1023,7 +1023,7 @@ const char *vtkWrapPython_FormatSignature(
while (k-j < width && cp[i] != '\n' && cp[i] != '\0')
{
/* escape quotes */
if (cp[i] == '\"' || cp[i] == '\'')
if (cp[i] == '\"' || cp[i] == '\'' || cp[i] == '\\')
{
text[k++] = '\\';
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment