]> granicus.if.org Git - graphviz/commitdiff
gvplugin.c: fix comment typos
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 4 Nov 2021 15:10:56 +0000 (08:10 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 21 Dec 2021 02:40:39 +0000 (18:40 -0800)
lib/gvc/gvplugin.c

index c6a6c1f26ec66660327365268b017749ba1fed71..ecb79aac5c6fc3cd85067389d7e026c14fef6cfe 100644 (file)
@@ -40,7 +40,7 @@
 /*
  * Define an apis array of name strings using an enumerated api_t as index.
  * The enumerated type is defined gvplugin.h.  The apis array is
- * inititialized here by redefining ELEM and reinvoking APIS.
+ * initialized here by redefining ELEM and reinvoking APIS.
  */
 #define ELEM(x) #x,
 static char *api_names[] = { APIS };    /* "render", "layout", ... */
@@ -306,7 +306,7 @@ gvplugin_available_t *gvplugin_load(GVC_t * gvc, api_t api, const char *str)
             }
         }
         if (!reqpkg || strcmp(reqpkg, pnext->package->name) == 0) {
-            /* found with no packagename constraints, or with required matching packagname */
+            // found with no packagename constraints, or with required matching packagename
 
             if (dep && (apidep != api)) /* load dependency if needed, continue if can't find */
                 if (!(gvplugin_load(gvc, apidep, dep)))