X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fpostscript.c;h=3b655e29bddb45bd919de5498d0ea8cb1f214086;hb=deaede551f5448e159107ce837c3a90ee7185c74;hp=7fea637426da3388ff679f7d2f6c74a8c0edca4a;hpb=5f168bf8465ae50ba5c2c761b52f29a0500c0658;p=pspp-builds.git diff --git a/src/output/postscript.c b/src/output/postscript.c index 7fea6374..3b655e29 100644 --- a/src/output/postscript.c +++ b/src/output/postscript.c @@ -424,7 +424,7 @@ handle_option (struct outp_driver *this, const char *key, } /* Looks for a PostScript font file or config file in all the - appropriate places. Returns the filename on success, NULL on + appropriate places. Returns the file name on success, NULL on failure. */ static char * find_ps_file (const char *name) @@ -433,7 +433,7 @@ find_ps_file (const char *name) return xstrdup (name); else { - char *base_name = xasprintf ("psfonts%c%s", DIR_SEPARATOR, name); + char *base_name = xasprintf ("psfonts/%s", name); char *file_name = fn_search_path (base_name, config_path, NULL); free (base_name); return file_name;