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) ...@@ -453,11 +453,14 @@ int CnvToPs::print_image( const char *filename)
x = ps_cLeftMargin; x = ps_cLeftMargin;
// Try $pwr_doc/help/ if ( strchr( filename, '/') != 0)
strcpy( fname, "$pwr_doc/help/"); dcli_translate_filename( fname, filename);
strcat( fname, filename); else {
dcli_translate_filename( fname, fname); // Try $pwr_doc/help/
strcpy( fname, "$pwr_doc/help/");
strcat( fname, filename);
dcli_translate_filename( fname, fname);
}
sts = cnv_get_image( fname, &image, &pixmap); sts = cnv_get_image( fname, &image, &pixmap);
if ( EVEN(sts)) { if ( EVEN(sts)) {
// Try $pwr_exe // 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