Fix for the dvi generator issue with .eps files that have non-latin characters in the path.

Fix only in KDE > 4.5.
BUG: 228551

svn path=/trunk/KDE/kdegraphics/okular/; revision=1107836
This commit is contained in:
Glen Kaukola 2010-03-26 23:47:53 +00:00
parent 136e077f64
commit 6623fcd4d8

View file

@ -205,8 +205,8 @@ void ghostscript_interface::gs_generate_graphics_file(const PageNumber& page, co
os << colorCommand.toLatin1();
}
if (!info->PostScriptString->toLatin1().isNull())
os << info->PostScriptString->toLatin1();
if (!info->PostScriptString->isNull())
os << *(info->PostScriptString);
os << "end\n"
<< "showpage \n";