Quantcast

-Oops small bugfix for saving layout.

Xruptor [04-16-12 - 21:08]
-Oops small bugfix for saving layout.
Filename
XanChat.lua
XanChat.toc
diff --git a/XanChat.lua b/XanChat.lua
index b5575ee..7418422 100644
--- a/XanChat.lua
+++ b/XanChat.lua
@@ -313,7 +313,7 @@ end
 --hook origFCF_SavePositionAndDimensions
 local origFCF_SavePositionAndDimensions = FCF_SavePositionAndDimensions
 FCF_SavePositionAndDimensions = function(chatFrame)
-	SaveLayout(chatFrame:GetName())
+	SaveLayout(chatFrame)
 	origFCF_SavePositionAndDimensions(chatFrame)
 end

diff --git a/XanChat.toc b/XanChat.toc
index 88eab86..fab8178 100644
--- a/XanChat.toc
+++ b/XanChat.toc
@@ -2,7 +2,7 @@
 ## Title: xanChat
 ## Notes: A very minimalistic chat modification addon.
 ## Author: Xruptor
-## Version: 3.0
+## Version: 3.1
 ## SavedVariables: XCHT_DB

 xanChat.lua