summaryrefslogtreecommitdiff
path: root/plugins/Scriver
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-07-29 14:40:05 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-07-29 14:40:05 +0300
commit07464892e2e68bf816fa0f96590a812ec67b75f3 (patch)
tree762ed15e19bf6078589e4efa11d8c7818d35d61f /plugins/Scriver
parentd95e27d5317d3a5cdea011e8459b4c7d427fd415 (diff)
fixes #3127 (tabSRMM: сделать настройки про добавление двоеточия и запятой взаимоисключающими)
Diffstat (limited to 'plugins/Scriver')
-rw-r--r--plugins/Scriver/src/chat.h2
-rw-r--r--plugins/Scriver/src/chat_main.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/plugins/Scriver/src/chat.h b/plugins/Scriver/src/chat.h
index 71227293df..48ad5567d3 100644
--- a/plugins/Scriver/src/chat.h
+++ b/plugins/Scriver/src/chat.h
@@ -62,6 +62,8 @@ struct SESSION_INFO : public GCSessionInfoBase
struct GlobalLogSettings : public GlobalLogSettingsBase
{
HFONT MessageBoxFont;
+ bool bAddColonToAutoComplete;
+
};
extern GlobalLogSettings g_Settings;
diff --git a/plugins/Scriver/src/chat_main.cpp b/plugins/Scriver/src/chat_main.cpp
index d06974eb58..69b04f0207 100644
--- a/plugins/Scriver/src/chat_main.cpp
+++ b/plugins/Scriver/src/chat_main.cpp
@@ -113,6 +113,8 @@ static BOOL DoPopup(SESSION_INFO *si, GCEVENT *gce)
static void OnLoadSettings()
{
+ g_Settings.bAddColonToAutoComplete = db_get_b(0, CHAT_MODULE, "AddColonToAutoComplete", 1) != 0;
+
if (g_Settings.MessageBoxFont)
DeleteObject(g_Settings.MessageBoxFont);