summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/ps
diff options
context:
space:
mode:
Diffstat (limited to 'kfile-plugins/ps')
-rw-r--r--kfile-plugins/ps/gscreator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kfile-plugins/ps/gscreator.cpp b/kfile-plugins/ps/gscreator.cpp
index e9fb558b..cc4edcfc 100644
--- a/kfile-plugins/ps/gscreator.cpp
+++ b/kfile-plugins/ps/gscreator.cpp
@@ -234,7 +234,7 @@ bool GSCreator::create(const TQString &path, int width, int height, TQImage &img
}
const bool is_encapsulated = no_dvi &&
- (path.tqfind(TQRegExp("\\.epsi?$", false, false)) > 0) &&
+ (path.find(TQRegExp("\\.epsi?$", false, false)) > 0) &&
(dsc.bbox()->width() > 0) && (dsc.bbox()->height() > 0) &&
(dsc.page_count() <= 1);