summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-01-09 20:25:17 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-01-09 20:25:17 +0300
commitba6b69b9e20dd633ba097987dd068ff040300665 (patch)
treeb3c01f63ce41f4e9050c420b46a49d79400bb56a
parent691f43b900a28f1cf651b026be2d0889901bf9c0 (diff)
fixes #2155 (crash in Popup+ options)
-rw-r--r--plugins/Popup/src/opt_gen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Popup/src/opt_gen.cpp b/plugins/Popup/src/opt_gen.cpp
index 6e90a9f4e7..7c74a26041 100644
--- a/plugins/Popup/src/opt_gen.cpp
+++ b/plugins/Popup/src/opt_gen.cpp
@@ -36,7 +36,7 @@ static int CountStatusModes(DWORD flags)
if (flags & PF2_LIGHTDND) ++res;
if (flags & PF2_HEAVYDND) ++res;
if (flags & PF2_FREECHAT) ++res;
- if (res) ++res; // Offline
+ ++res; // Offline
return res;
}