small bugfix in form to filter conversion

This commit is contained in:
Manuel Simon Hirsig
2016-02-03 20:18:21 +01:00
parent c000058f86
commit 731d914798
2 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
AuxVersion = '2.4.2'
AuxVersion = '2.4.3'
AuxAuthors = 'shirsig; Zerf; Zirco (Auctionator); Nimeral (Auctionator backport)'
Aux = {
+6 -2
View File
@@ -133,8 +133,12 @@ function private.get_form_filter()
private.tooltip6:GetText(),
}, function(entry) return entry ~= '' end)
for i=1,getn(tooltip)-1 do
tinsert(tooltip, 1, 'and')
if getn(tooltip) == 1 then
tinsert(tooltip, 1, 'tt')
else
for i=1,getn(tooltip)-1 do
tinsert(tooltip, 1, 'and')
end
end
return {