]> granicus.if.org Git - graphviz/commitdiff
fix a couple of comment typos
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 16 Jul 2021 03:46:41 +0000 (20:46 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 18 Jul 2021 20:53:56 +0000 (13:53 -0700)
lib/gvc/gvrender.c

index 2d1219dc751e51a639c825fbb9220c9ea35ddc97..04ee971fb3328886b8158103330b6afeb2514e1e 100644 (file)
@@ -458,7 +458,7 @@ void gvrender_set_pencolor(GVJ_t * job, char *name)
     gvcolor_t *color = &(job->obj->pencolor);
     char *cp = NULL;
 
-    if ((cp = strchr(name, ':')))      /* if its a color list, then use only first */
+    if ((cp = strchr(name, ':'))) // if it’s a color list, then use only first
        *cp = '\0';
     if (gvre) {
        gvrender_resolve_color(job->render.features, name, color);
@@ -475,7 +475,7 @@ void gvrender_set_fillcolor(GVJ_t * job, char *name)
     gvcolor_t *color = &(job->obj->fillcolor);
     char *cp = NULL;
 
-    if ((cp = strchr(name, ':')))      /* if its a color list, then use only first */
+    if ((cp = strchr(name, ':'))) // if it’s a color list, then use only first
        *cp = '\0';
     if (gvre) {
        gvrender_resolve_color(job->render.features, name, color);