From 99962115431435cf17dfae4d3b7c8d7d55d824bf Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 8 Mar 2019 15:29:44 +0300 Subject: life is too short to remember whether this structure is zeroed or not --- plugins/Popup/src/popup_wnd2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Popup') diff --git a/plugins/Popup/src/popup_wnd2.cpp b/plugins/Popup/src/popup_wnd2.cpp index c3b0ab1db1..6f255e4c9b 100644 --- a/plugins/Popup/src/popup_wnd2.cpp +++ b/plugins/Popup/src/popup_wnd2.cpp @@ -647,14 +647,14 @@ int PopupWnd2::fixActions(POPUPACTION *theActions, int count, int additional) m_actionCount = additional; for (i = 0; i < count; ++i) - if ((theActions[i].flags&PAF_ENABLED) && IsActionEnabled(&theActions[i])) + if ((theActions[i].flags & PAF_ENABLED) && IsActionEnabled(&theActions[i])) ++m_actionCount; m_actions = new ActionInfo[m_actionCount]; int iAction = 0; for (i = 0; i < count; ++i) - if ((theActions[i].flags&PAF_ENABLED) && IsActionEnabled(&theActions[i])) { + if ((theActions[i].flags & PAF_ENABLED) && IsActionEnabled(&theActions[i])) { m_actions[iAction].actionA = theActions[i]; ++iAction; } -- cgit v1.2.3