From a213453ce900f654f44ca6ff11a69df07215cdfe Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Wed, 4 Feb 2015 08:20:02 +0100 Subject: [PATCH] browser: sort non-numeric version numbers last MSIE version "TP" comes after "11", obviously! This is the only non-numeric version number for now, see how it develops. --- browser.plp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser.plp b/browser.plp index beff4a9..9fd9e90 100644 --- a/browser.plp +++ b/browser.plp @@ -395,7 +395,7 @@ sub paddedver { # normalised version number comparable as string (cmp) shift =~ /(?:.*-|^)(\d*)(.*)/; # matched (major)(.minor) of last value in range (a-B) - return sprintf('%02d', $1 || 0) . $2; + return sprintf('%02d', $1 || 99) . $2; } sub showversions { -- 2.30.0