Quantcast

Merge pull request #2 from dpatti/master

Xruptor [05-25-11 - 14:34]
Merge pull request #2 from dpatti/master

Allow quick searching via the command line to use the whole search term.

Xruptor: Thank god at least someone took the liberty of updating the code for me. That's the whole reason why I put them all up on GitHub.
Filename
BagSync.lua
diff --git a/BagSync.lua b/BagSync.lua
index c9f62a1..3751c22 100644
--- a/BagSync.lua
+++ b/BagSync.lua
@@ -226,7 +226,7 @@ function BagSync:PLAYER_LOGIN()
 				--do an item search
 				if BagSync_SearchFrame then
 					if not BagSync_SearchFrame:IsVisible() then BagSync_SearchFrame:Show() end
-					BagSync_SearchFrame.SEARCHBTN:SetText(c:lower())
+					BagSync_SearchFrame.SEARCHBTN:SetText(msg)
 					BagSync_SearchFrame:DoSearch()
 				end
 				return true