From f25d896d4da9b44c23f89bfdd0379fa97ab2c351 Mon Sep 17 00:00:00 2001 From: albert-github Date: Tue, 20 May 2014 21:09:19 +0200 Subject: Bug 730418 - man page extension is incorrect Test in respect to handling extension was tone wit equal less than / greater than sign and should only be less than and greater than. Resulting in the fact that in case of a chosen extension starting with .0 or .9 an 3 was pre-pended. --- src/mangen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mangen.cpp b/src/mangen.cpp index cf6795b..352ef15 100644 --- a/src/mangen.cpp +++ b/src/mangen.cpp @@ -56,7 +56,7 @@ static QCString getExtension() ext = ext.mid(1); } } - if (ext.at(0)<='0' || ext.at(0)>='9') + if (ext.at(0)<'0' || ext.at(0)>'9') { ext.prepend("3"); } -- cgit v0.12