X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/044c816621892378582d969646276a569ac4eb06..ec0c19df28437d6ddb737f1b8c14aa14c7b76d68:/browser.plp?ds=inline diff --git a/browser.plp b/browser.plp index fc04389..fc3d5f0 100644 --- a/browser.plp +++ b/browser.plp @@ -195,7 +195,7 @@ print ''; sub paddedver { # normalised version number comparable as string (cmp) shift =~ /^(\d*)(.*)/; - return sprintf('%02d', $1) . $2; + return sprintf('%02d', $1 || 0) . $2; } sub showversions {