]> granicus.if.org Git - graphviz/commitdiff
fix API type for webp imageloader - was causing crash
authorJohn Ellson <ellson@research.att.com>
Wed, 11 Jan 2012 16:03:05 +0000 (11:03 -0500)
committerJohn Ellson <ellson@research.att.com>
Wed, 11 Jan 2012 16:03:05 +0000 (11:03 -0500)
plugin/webp/gvplugin_webp.c

index 40bfc059ef895fb00098101d770c0b262f626a4d..0aad26cb9c66ed7ce510736cfe31d35880c911f7 100644 (file)
@@ -18,7 +18,7 @@ extern gvplugin_installed_t gvloadimage_webp_types[];
 
 static gvplugin_api_t apis[] = {
     {API_device, gvdevice_webp_types},
-    {API_device, gvloadimage_webp_types},
+    {API_loadimage, gvloadimage_webp_types},
     {(api_t)0, 0},
 };