Fix missing parentheses around macro

Authored by jpalecek on Oct 13 2019, 1:26 PM.

Description

Fix missing parentheses around macro

Summary:
Defining macro isRunning by

#define isRunning() something == something_else

has its problems. Elsewhere in the code, there is

if(!isRunning())

which expands to !something == something_else, not what you would probably mean. I have found this due to a gcc warning.

Reviewers: Kopete, rakuco

Reviewed By: rakuco

Subscribers: rakuco, kopete-devel

Tags: Kopete

Differential Revision: https://phabricator.kde.org/D18445

Details

Committed
rakucoOct 13 2019, 1:32 PM
Reviewer
rakuco
Differential Revision
D18445: Fix missing parentheses around macro
Parents
R434:6d5f864d7517: GIT_SILENT made messages (after extraction)
Branches
Unknown
Tags
Unknown