From 51c5c1b3946ff5c244614141e76e92f1ef1dbac3 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 6 Mar 2018 17:18:43 +0300 Subject: grrm... --- src/mir_app/src/srmm_base.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mir_app/src/srmm_base.cpp b/src/mir_app/src/srmm_base.cpp index 37458a43b5..898f98c7a8 100644 --- a/src/mir_app/src/srmm_base.cpp +++ b/src/mir_app/src/srmm_base.cpp @@ -67,7 +67,7 @@ CSrmmBaseDialog::CSrmmBaseDialog(HINSTANCE hInst, int idDialog, SESSION_INFO *si m_hContact = si->hContact; MODULEINFO *mi = chatApi.MM_FindModule(si->pszModule); - if (mi == nullptr) { + if (mi != nullptr) { if (mi->bColor) { m_iFG = 4; m_bFGSet = true; -- cgit v1.2.3