From bacf4440af143febd7676da265224d0fb846418a Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Fri, 16 Sep 2016 12:16:20 +0200 Subject: [PATCH] completion bugfix --- Postal.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Postal.lua b/Postal.lua index 46993e0..9184502 100644 --- a/Postal.lua +++ b/Postal.lua @@ -703,7 +703,7 @@ do function self:PreviousMatch() if index then - index = abs(min(index - 1, -getn(matches))) + index = index > 1 and index - 1 or getn(matches) complete() end end