From cfd011825f87c396fde3a0d8a13afcd31bd3ef0f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 18 Jan 2024 14:41:36 +0300 Subject: =?UTF-8?q?fixes=20#4129=20(=D0=A1=D1=82=D1=80=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D1=86=D0=B0=20=D0=BD=D0=B0=D1=81=D1=82=D1=80=D0=BE=D0=B5=D0=BA?= =?UTF-8?q?=20=D0=B7=D0=B0=D0=BF=D0=B8=D1=81=D0=B8=20=D0=B8=D1=81=D1=82?= =?UTF-8?q?=D0=BE=D1=80=D0=B8=D0=B8=20=D1=87=D0=B0=D1=82=D0=BE=D0=B2=20?= =?UTF-8?q?=D0=B2=20=D1=84=D0=B0=D0=B9=D0=BB)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/TabSRMM/src/chat_options.cpp | 10 ++++------ plugins/TabSRMM/src/resource.h | 4 ++-- 2 files changed, 6 insertions(+), 8 deletions(-) (limited to 'plugins/TabSRMM/src') diff --git a/plugins/TabSRMM/src/chat_options.cpp b/plugins/TabSRMM/src/chat_options.cpp index 26ef4e6dad..4ceec3b968 100644 --- a/plugins/TabSRMM/src/chat_options.cpp +++ b/plugins/TabSRMM/src/chat_options.cpp @@ -570,7 +570,7 @@ class CChatLogOptionDlg : public CChatBaseOptionDlg public: CChatLogOptionDlg() : - CChatBaseOptionDlg(IDD_OPTIONS2), + CChatBaseOptionDlg(Srmm_IsCustomLogUsed(true) ? IDD_OPTIONS3 : IDD_OPTIONS2), m_timer(this, 1), btnBaseDir(this, IDC_MUC_OPENLOGBASEDIR), chkLogging(this, IDC_LOGGING), @@ -895,11 +895,9 @@ void Chat_Options(WPARAM wParam) odp.pDialog = new CChatSettingsDlg(); g_plugin.addOptions(wParam, &odp); - if (!Srmm_IsCustomLogUsed(true)) { - odp.szTab.a = LPGEN("Log formatting"); - odp.pDialog = new CChatLogOptionDlg(); - g_plugin.addOptions(wParam, &odp); - } + odp.szTab.a = LPGEN("Log formatting"); + odp.pDialog = new CChatLogOptionDlg(); + g_plugin.addOptions(wParam, &odp); odp.szTab.a = LPGEN("Highlighting"); odp.pDialog = new CHighlighOptionDlg(); diff --git a/plugins/TabSRMM/src/resource.h b/plugins/TabSRMM/src/resource.h index 36d480b7a9..f19e263635 100644 --- a/plugins/TabSRMM/src/resource.h +++ b/plugins/TabSRMM/src/resource.h @@ -1,6 +1,6 @@ //{{NO_DEPENDENCIES}} // Microsoft Visual C++ generated include file. -// Used by W:\miranda-ng\plugins\TabSRMM\res\resource.rc +// Used by W:\miranda-ng\plugins\TabSRMM\res\chat.rc // #define VS_VERSION_INFO 1 #define IDD_TEMPLATEEDIT 1 @@ -697,7 +697,7 @@ // #ifdef APSTUDIO_INVOKED #ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 108 +#define _APS_NEXT_RESOURCE_VALUE 109 #define _APS_NEXT_COMMAND_VALUE 40001 #define _APS_NEXT_CONTROL_VALUE 1000 #define _APS_NEXT_SYMED_VALUE 101 -- cgit v1.2.3