diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-16 21:54:30 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-16 21:54:30 +0000 |
commit | a0e1ac74673f20bb4692b7523ce0c966769dde2c (patch) | |
tree | a1fc2d747ab0715df76bf77be44359365081c244 /plugins/TabSRMM/src/chat/main.cpp | |
parent | 831ad8a0121f9f9ee5c4f38d4a0d209b3c2bdb60 (diff) |
splitter position in tabSRMM is read from another variable
git-svn-id: http://svn.miranda-ng.org/main/trunk@7685 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/chat/main.cpp')
-rw-r--r-- | plugins/TabSRMM/src/chat/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/chat/main.cpp b/plugins/TabSRMM/src/chat/main.cpp index 4adb98d5f3..5a8a10c014 100644 --- a/plugins/TabSRMM/src/chat/main.cpp +++ b/plugins/TabSRMM/src/chat/main.cpp @@ -160,6 +160,10 @@ static void OnLoadSettings() g_Settings.bShowContactStatus = M.GetBool("Chat", "ShowContactStatus", true);
g_Settings.bContactStatusFirst = M.GetBool("Chat", "ContactStatusFirst", false);
+ g_Settings.iSplitterY = db_get_w(NULL, "Chat", "splitY", 50);
+ if (g_Settings.iSplitterY <= 20)
+ g_Settings.iSplitterY = 50;
+
// nicklist
if (g_Settings.UserListFonts[0]) {
DeleteObject(g_Settings.UserListFonts[CHAT_STATUS_NORMAL]);
|