summaryrefslogtreecommitdiffstats
path: root/kpdf/xpdf/xpdf/GlobalParams.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kpdf/xpdf/xpdf/GlobalParams.cc')
-rw-r--r--kpdf/xpdf/xpdf/GlobalParams.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/kpdf/xpdf/xpdf/GlobalParams.cc b/kpdf/xpdf/xpdf/GlobalParams.cc
index 24552664..519e81a4 100644
--- a/kpdf/xpdf/xpdf/GlobalParams.cc
+++ b/kpdf/xpdf/xpdf/GlobalParams.cc
@@ -2057,7 +2057,7 @@ FILE *GlobalParams::findToUnicodeFile(GString *name) {
void parseStyle(TQString& name, int& weight, int& slant, int& width)
{
- if (name.tqfind("MS-") == 0) name = "MS " + name.remove(0,3);
+ if (name.find("MS-") == 0) name = "MS " + name.remove(0,3);
if (!name.contains('-') && !name.contains(',')) return;
TQString type = name.section(TQRegExp("[-,]"),-1);