small bugfix
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ function fuzzy(input)
|
||||
local uppercase_input = strupper(input)
|
||||
local pattern = '(.*)'
|
||||
for i=1,strlen(uppercase_input) do
|
||||
if strfind(string.sub(uppercase_input, i, i), '%a') or strfind(string.sub(uppercase_input, i, i), '%s') then
|
||||
if strfind(string.sub(uppercase_input, i, i), '%w') or strfind(string.sub(uppercase_input, i, i), '%s') then
|
||||
pattern = pattern .. string.sub(uppercase_input, i, i) .. '(.*)'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
AuxVersion = '2.2.22'
|
||||
AuxVersion = '2.2.23'
|
||||
AuxAuthors = 'shirsig; Zerf; Zirco (Auctionator); Nimeral (Auctionator backport)'
|
||||
|
||||
local lastRightClickAction = GetTime()
|
||||
|
||||
+2
-2
@@ -492,8 +492,8 @@ function update_inventory_data()
|
||||
|
||||
local auction_sell_item
|
||||
|
||||
Aux.util.without_sound(function()
|
||||
Aux.util.without_errors(function()
|
||||
Aux.util.without_errors(function()
|
||||
Aux.util.without_sound(function()
|
||||
|
||||
ClearCursor()
|
||||
PickupContainerItem(slot.bag, slot.bag_slot)
|
||||
|
||||
@@ -51,14 +51,14 @@ function Aux_PluralizeIf(word, count)
|
||||
end
|
||||
end
|
||||
|
||||
function Aux.util.without_sound(f)
|
||||
function Aux.util.without_errors(f)
|
||||
local orig = UIErrorsFrame.AddMessage
|
||||
UIErrorsFrame.AddMessage = Aux.util.pass
|
||||
f()
|
||||
UIErrorsFrame.AddMessage = orig
|
||||
end
|
||||
|
||||
function Aux.util.without_errors(f)
|
||||
function Aux.util.without_sound(f)
|
||||
local orig = GetCVar('MasterSoundEffects')
|
||||
SetCVar('MasterSoundEffects', false)
|
||||
f()
|
||||
|
||||
Reference in New Issue
Block a user