]> granicus.if.org Git - graphviz/commit
Fix strdup_and_subst_obj() so that calls not involving simple labels collapse \\...
authorerg <devnull@localhost>
Thu, 31 Mar 2011 14:10:07 +0000 (14:10 +0000)
committererg <devnull@localhost>
Thu, 31 Mar 2011 14:10:07 +0000 (14:10 +0000)
commit0e5a63625e584bd8fc3ad4150cc8703c6f30ccdf
treeddbfc3c43d824b9d69088814c21e5bc91f7f6af7
parent5f06a0fed63599a9f2837960f70546d6e8b1cb40
Fix strdup_and_subst_obj() so that calls not involving simple labels collapse \\ to \.
Without this, users cannot get a lone backslash in an HTML-label or tooltip if it
preceded G, E, N, etc.
We don't do this for simple label text, as it is later processed to handle \n, \r, etc.
and collapses \\ to \ at that time.
lib/common/labels.c