Quantcast

-Slight update to the search routine.

Xruptor [10-24-11 - 13:58]
-Slight update to the search routine.
-Updated officially on github.com
Filename
BagSync.toc
BagSync_Search.lua
diff --git a/BagSync.toc b/BagSync.toc
index 7180426..143fb0d 100644
--- a/BagSync.toc
+++ b/BagSync.toc
@@ -2,7 +2,7 @@
 ## Title: BagSync
 ## Notes: BagSync tracks your characters items and displays it within tooltips.
 ## Author: Xruptor
-## Version: 6.3.4
+## Version: 6.3.5
 ## SavedVariables: BagSyncDB, BagSyncOpt, BagSyncGUILD_DB, BagSyncTOKEN_DB

 localization\localization.lua
diff --git a/BagSync_Search.lua b/BagSync_Search.lua
index 9bdd8b2..b213d15 100644
--- a/BagSync_Search.lua
+++ b/BagSync_Search.lua
@@ -150,8 +150,8 @@ function bgSearch:LoadSlider()
 				if searchTable[i + offset] then
 					if searchTable[i + offset].rarity then
 						--local hex = (select(4, GetItemQualityColor(searchTable[i + offset].rarity)))
-						local hex = ("|c" .. select(4, GetItemQualityColor(searchTable[i + offset].rarity))) --@Tonyleila Fix from Wowinterface
-						row.title:SetText(format('%s%s|r', hex, searchTable[i + offset].name) or searchTable[i + offset].name)
+						local hex = (select(4, GetItemQualityColor(searchTable[i + offset].rarity)))
+						row.title:SetText(format('|c%s%s|r', hex, searchTable[i + offset].name) or searchTable[i + offset].name)
 					else
 						row.title:SetText(searchTable[i + offset].name)
 					end