From ba6b69b9e20dd633ba097987dd068ff040300665 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 9 Jan 2020 20:25:17 +0300 Subject: fixes #2155 (crash in Popup+ options) --- plugins/Popup/src/opt_gen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Popup/src') 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; } -- cgit v1.2.3