summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/init.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2023-03-03 12:45:23 +0300
committerGeorge Hazan <ghazan@miranda.im>2023-03-03 12:45:23 +0300
commited45aa912e89bb1fabe829c9644d34803a24ddda (patch)
tree57fb87f3e03f82eb3d5d356e4fcaa7f89215a083 /plugins/Clist_modern/src/init.cpp
parentbde2e74d7aee14a127674aa91a93dc0c982281c8 (diff)
fixes #3383 (Clist_modern: get rid of inverted logic)
Diffstat (limited to 'plugins/Clist_modern/src/init.cpp')
-rw-r--r--plugins/Clist_modern/src/init.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/Clist_modern/src/init.cpp b/plugins/Clist_modern/src/init.cpp
index 3026d17ba2..6e809c6b4b 100644
--- a/plugins/Clist_modern/src/init.cpp
+++ b/plugins/Clist_modern/src/init.cpp
@@ -112,6 +112,11 @@ int CMPlugin::Unload(void)
void CMPlugin::ReadSettings()
{
+ if (g_plugin.getBool("NoOfflineBottom")) {
+ g_plugin.setByte("OfflineBottom", false);
+ g_plugin.delSetting("NoOfflineBottom");
+ }
+
wcsncpy_s(secondLine.text, getMStringW("SecondLineText"), _TRUNCATE);
secondLine.iType = getWord("SecondLineType", SETTING_SECONDLINE_TYPE_DEFAULT);
secondLine.bActive = getBool("SecondLineShow", SETTING_SECONDLINE_SHOW_DEFAULT);