]> granicus.if.org Git - graphviz/commitdiff
Ignore non-0 control characters that may occur in record labels.
authorEmden R. Gansner <erg@alum.mit.edu>
Wed, 22 Jan 2014 21:56:47 +0000 (16:56 -0500)
committerEmden R. Gansner <erg@alum.mit.edu>
Wed, 22 Jan 2014 21:56:47 +0000 (16:56 -0500)
lib/common/shapes.c

index c92393df1a0cdd14a49a01725733561fd38a6ef9..3623d41821cba40a418bde5ab13370a432eab9dc 100644 (file)
@@ -3175,6 +3175,10 @@ static field_t *parse_reclbl(node_t * n, int LR, int flag, char *text)
     wflag = TRUE;
     ishardspace = FALSE;
     while (wflag) {
+       if ((*reclblp < ' ') && *reclblp) {    /* Ignore non-0 control characters */
+           reclblp++;
+           continue;
+       }
        switch (*reclblp) {
        case '<':
            if (mode & (HASTABLE | HASPORT))