]> granicus.if.org Git - graphviz/commitdiff
Replace wrong 'CELLSBORDER' in error message
authorMark Hansen <mark@markhansen.co.nz>
Sat, 13 Aug 2022 19:49:59 +0000 (19:49 +0000)
committerMark Hansen <mark@markhansen.co.nz>
Sat, 13 Aug 2022 19:49:59 +0000 (19:49 +0000)
Should be 'CELLBORDER'.

See rationale at
https://gitlab.com/graphviz/graphviz.gitlab.io/-/issues/158

lib/common/htmllex.c

index 704bc0c13d0c794e31e46105242a12a3d6611b11..5fb76ac1cbb2fded8721b5ae02f4a4083f36d020 100644 (file)
@@ -278,7 +278,7 @@ static int cellborderfn(htmltbl_t * p, char *v)
 {
     long u;
 
-    if (doInt(v, "CELLSBORDER", 0, SCHAR_MAX, &u))
+    if (doInt(v, "CELLBORDER", 0, SCHAR_MAX, &u))
        return 1;
     p->cb = (signed char)u;
     return 0;