]> granicus.if.org Git - graphviz/commitdiff
style_token: remove unnecessary bracketing
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 30 Aug 2021 00:37:15 +0000 (17:37 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 4 Sep 2021 02:31:58 +0000 (19:31 -0700)
lib/common/emit.c

index 64f0810c3f4ca938e3b05bea309f732f2be414d9..f4faca42b4927ac491aba4d3be7691b6f85906d1 100644 (file)
@@ -3773,7 +3773,7 @@ static int style_token(char **s, agxbuf * xb)
     int token;
     char c;
 
-    while (*p && (isspace(*p) || (*p == ',')))
+    while (*p && (isspace(*p) || *p == ','))
        p++;
     switch (*p) {
     case '\0':