]> granicus.if.org Git - graphviz/commitdiff
Fix bug in ps image lookup. dtsearch requires a dictionary object;
authorerg <devnull@localhost>
Mon, 25 Apr 2005 22:49:40 +0000 (22:49 +0000)
committererg <devnull@localhost>
Mon, 25 Apr 2005 22:49:40 +0000 (22:49 +0000)
dtmatch just requires the key.

lib/common/psusershape.c

index 1da372e8555bab42d1c8c3dae77ebebfe03313d8..c07031ca2af6919db32e72c0ae38a8d928c2c946 100644 (file)
@@ -56,7 +56,7 @@ static ps_image_t *user_init(char *str)
     if (!EPSF_contents)
        EPSF_contents = dtopen(&ImageDictDisc, Dtoset);
 
-    val = dtsearch(EPSF_contents, str);
+    val = dtmatch(EPSF_contents, str);
     if (val)
        return val;