diff options
Diffstat (limited to 'plugins/TabSRMM/src/chat/main.cpp')
-rw-r--r-- | plugins/TabSRMM/src/chat/main.cpp | 9 |
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;
}
|