From a92de91616be606f81374fb98e49380ee5aa01f7 Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Sat, 5 Oct 2024 14:39:32 +0300 Subject: [PATCH] (setup__is_cfg_group_must_panel_config): fix coding style. Signed-off-by: Andrew Borodin --- src/setup.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/setup.c b/src/setup.c index eb729c603..ccb7ab8ca 100644 --- a/src/setup.c +++ b/src/setup.c @@ -447,10 +447,10 @@ static const struct static const char * setup__is_cfg_group_must_panel_config (const char *grp) { - return (!strcasecmp ("Dirs", grp) || - !strcasecmp ("Temporal:New Right Panel", grp) || - !strcasecmp ("Temporal:New Left Panel", grp) || - !strcasecmp ("New Left Panel", grp) || !strcasecmp ("New Right Panel", grp)) + return (strcasecmp ("Dirs", grp) == 0|| + strcasecmp ("Temporal:New Right Panel", grp) == 0|| + strcasecmp ("Temporal:New Left Panel", grp) == 0 || + strcasecmp ("New Left Panel", grp) == 0 || strcasecmp ("New Right Panel", grp) == 0) ? grp : NULL; }