From cae8f9c4ce22dd2ae59d995c8daaf4b15a8ec009 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 25 Feb 2017 18:09:39 +0100 Subject: [PATCH] autoupdater: fix indentation --- admin/autoupdater/files/usr/lib/lua/autoupdater/version.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/autoupdater/files/usr/lib/lua/autoupdater/version.lua b/admin/autoupdater/files/usr/lib/lua/autoupdater/version.lua index 9c951c5..797dc51 100644 --- a/admin/autoupdater/files/usr/lib/lua/autoupdater/version.lua +++ b/admin/autoupdater/files/usr/lib/lua/autoupdater/version.lua @@ -38,7 +38,7 @@ function newer_than(a, b) local bc = char_order(b, bpos) if ac ~= bc then - return ac > bc + return ac > bc end apos = apos + 1 @@ -55,7 +55,7 @@ function newer_than(a, b) while isdigit(a, apos) and isdigit(b, bpos) do if first_diff == 0 then - first_diff = char_value(a, apos) - char_value(b, bpos) + first_diff = char_value(a, apos) - char_value(b, bpos) end apos = apos + 1