From: Peter Howkins Date: Mon, 30 Apr 2018 00:47:53 +0000 (+0100) Subject: dtimsstart: Fix brackets on previous coverity fix X-Git-Tag: 2.2.4a~48 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ac168d8918c3759b2d1dd79daab238c03e717466;p=oweals%2Fcde.git dtimsstart: Fix brackets on previous coverity fix --- diff --git a/cde/programs/dtimsstart/env.c b/cde/programs/dtimsstart/env.c index 90affbbc..3d60cd0e 100644 --- a/cde/programs/dtimsstart/env.c +++ b/cde/programs/dtimsstart/env.c @@ -336,7 +336,7 @@ int make_new_environ(oenv, sel) } # endif /* old_hpux */ for (i = 0; i < num && (p = unsetp[i]); i++) { - if (strcmp(p, xmod) == 0 || (xinput && strcmp(p, xinput)) == 0) + if (strcmp(p, xmod) == 0 || (xinput && (strcmp(p, xinput) == 0))) continue; if (oenv->set) { for (ep2 = oenv->set; ep2->name; ep2++)