From 9845cf7b29572ec8f18c9a1f2ecfe7608b600536 Mon Sep 17 00:00:00 2001 From: erg Date: Mon, 25 Apr 2005 22:49:40 +0000 Subject: [PATCH] Fix bug in ps image lookup. dtsearch requires a dictionary object; dtmatch just requires the key. --- lib/common/psusershape.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common/psusershape.c b/lib/common/psusershape.c index 1da372e85..c07031ca2 100644 --- a/lib/common/psusershape.c +++ b/lib/common/psusershape.c @@ -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; -- 2.40.0