Quantcast

Fixed mousewheel arguments

p3lim-52096 [09-15-08 - 16:53]
Fixed mousewheel arguments

git-svn-id: svn://svn.wowinterface.com/pMinimap-54/trunk@21 ae24c21f-2f0c-4c94-9256-0092abe71e0d
Filename
pMinimap/pMinimap.lua
diff --git a/pMinimap/pMinimap.lua b/pMinimap/pMinimap.lua
index fc8361f..ea882d7 100644
--- a/pMinimap/pMinimap.lua
+++ b/pMinimap/pMinimap.lua
@@ -12,7 +12,7 @@ function pMinimap:ADDON_LOADED()
 	MinimapZoomIn:Hide()
 	MinimapZoomOut:Hide()
 	Minimap:EnableMouseWheel()
-	Minimap:SetScript('OnMouseWheel', function(dir)
+	Minimap:SetScript('OnMouseWheel', function(self, dir)
 		if(dir > 0) then
 			Minimap_ZoomIn()
 		else