diff --git a/poppler/GlobalParamsWin.cc b/poppler/GlobalParamsWin.cc index bbb8aae..d8065e0 100644 --- a/poppler/GlobalParamsWin.cc +++ b/poppler/GlobalParamsWin.cc @@ -388,8 +388,8 @@ static GooString* replaceSuffix(GooString *path, { int suffLenA = strlen(suffixA); int suffLenB = strlen(suffixB); - int baseLenA = path->getLength() - sufflenA; - int baseLenB = path->getLength() - sufflenB; + int baseLenA = path->getLength() - suffLenA; + int baseLenB = path->getLength() - suffLenB; if (!strcasecmp(path->getCString()+baseLenA, suffixA)) { path->del(baseLenA,suffLenA)->append(suffixB);