Commit 2127816b authored by Claes Sjofors's avatar Claes Sjofors

co_convert, image search path for postscript motified

parent 5b5d702b
......@@ -453,11 +453,14 @@ int CnvToPs::print_image( const char *filename)
x = ps_cLeftMargin;
// Try $pwr_doc/help/
strcpy( fname, "$pwr_doc/help/");
strcat( fname, filename);
dcli_translate_filename( fname, fname);
if ( strchr( filename, '/') != 0)
dcli_translate_filename( fname, filename);
else {
// Try $pwr_doc/help/
strcpy( fname, "$pwr_doc/help/");
strcat( fname, filename);
dcli_translate_filename( fname, fname);
}
sts = cnv_get_image( fname, &image, &pixmap);
if ( EVEN(sts)) {
// Try $pwr_exe
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment