From ade564ea848b34e64e50acec80b649ac380a5e7c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 8 Apr 2014 13:19:56 +0000 Subject: fix fox saving horizontal splitter position in tabSRMM git-svn-id: http://svn.miranda-ng.org/main/trunk@8889 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/chat/main.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'plugins/TabSRMM/src/chat') 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; } -- cgit v1.2.3