summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2016-12-19 18:13:23 +0300
committerGeorge Hazan <ghazan@miranda.im>2016-12-19 18:13:23 +0300
commite1ab2684f17f146e1ef5127ceeba14f4c025987f (patch)
tree76b7a0e1804291b89664803c7f32ef9854dca874 /src
parent9bae565bee3ff1fe40c3f344358148a168af163e (diff)
code cleaning
Diffstat (limited to 'src')
-rw-r--r--src/core/stdmsg/src/chat_manager.cpp4
-rw-r--r--src/core/stdmsg/src/chat_options.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/core/stdmsg/src/chat_manager.cpp b/src/core/stdmsg/src/chat_manager.cpp
index 0f30acdbc1..5606dadabc 100644
--- a/src/core/stdmsg/src/chat_manager.cpp
+++ b/src/core/stdmsg/src/chat_manager.cpp
@@ -154,9 +154,9 @@ static void OnLoadSettings()
g_Settings.iY = db_get_dw(NULL, CHAT_MODULE, "roomy", -1);
g_Settings.bTabsEnable = db_get_b(NULL, CHAT_MODULE, "Tabs", 1) != 0;
- g_Settings.bTabRestore = db_get_b(NULL, CHAT_MODULE, "bTabRestore", 0) != 0;
+ g_Settings.bTabRestore = db_get_b(NULL, CHAT_MODULE, "TabRestore", 0) != 0;
g_Settings.bTabsAtBottom = db_get_b(NULL, CHAT_MODULE, "TabBottom", 0) != 0;
- g_Settings.bTabCloseOnDblClick = db_get_b(NULL, CHAT_MODULE, "bTabCloseOnDblClick", 0) != 0;
+ g_Settings.bTabCloseOnDblClick = db_get_b(NULL, CHAT_MODULE, "TabCloseOnDblClick", 0) != 0;
}
static void RegisterFonts()
diff --git a/src/core/stdmsg/src/chat_options.cpp b/src/core/stdmsg/src/chat_options.cpp
index 686a836185..9a29883a9d 100644
--- a/src/core/stdmsg/src/chat_options.cpp
+++ b/src/core/stdmsg/src/chat_options.cpp
@@ -32,8 +32,8 @@ struct branch_t
static branch_t branch0[] = {
{ LPGENW("Use a tabbed interface"), "Tabs", 0, true },
- { LPGENW("Close tab on double click"), "bTabCloseOnDblClick", 0, false },
- { LPGENW("Restore previously open tabs when showing the window"), "bTabRestore", 0, false },
+ { LPGENW("Close tab on double click"), "TabCloseOnDblClick", 0, false },
+ { LPGENW("Restore previously open tabs when showing the window"), "TabRestore", 0, false },
{ LPGENW("Show tabs at the bottom"), "TabBottom", 0, false },
};