summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-16 21:54:30 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-16 21:54:30 +0000
commita0e1ac74673f20bb4692b7523ce0c966769dde2c (patch)
treea1fc2d747ab0715df76bf77be44359365081c244 /plugins/TabSRMM
parent831ad8a0121f9f9ee5c4f38d4a0d209b3c2bdb60 (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')
-rw-r--r--plugins/TabSRMM/src/chat/main.cpp4
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]);