summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/chat
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-04-08 13:19:56 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-04-08 13:19:56 +0000
commitade564ea848b34e64e50acec80b649ac380a5e7c (patch)
treea428bfce375fdd7c62710000e71328c2be26d964 /plugins/TabSRMM/src/chat
parent54dc9fe4e16dd97e79b220aee3470ff7d4a919e6 (diff)
fix fox saving horizontal splitter position in tabSRMM
git-svn-id: http://svn.miranda-ng.org/main/trunk@8889 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/chat')
-rw-r--r--plugins/TabSRMM/src/chat/main.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/TabSRMM/src/chat/main.cpp b/plugins/TabSRMM/src/chat/main.cpp
index 5374f54858..fe487cf80f 100644
--- a/plugins/TabSRMM/src/chat/main.cpp
+++ b/plugins/TabSRMM/src/chat/main.cpp
@@ -272,6 +272,7 @@ static void CheckUpdate()
db_set_b(NULL, "Compatibility", "TabChatFonts", 3);
}
+// load the module
int Chat_Load()
{
CheckUpdate();
@@ -315,12 +316,12 @@ int Chat_Load()
return 0;
}
-/*
- * unload the module. final cleanup
- */
-
+// unload the module. final cleanup
int Chat_Unload(void)
{
+ db_set_w(NULL, CHAT_MODULE, "SplitterX", (WORD)g_Settings.iSplitterX);
+ db_set_w(NULL, CHAT_MODULE, "splitY", (WORD)g_Settings.iSplitterY);
+
DestroyMenu(g_hMenu);
return 0;
}