aboutsummaryrefslogtreecommitdiff
path: root/src/progman.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/progman.c')
-rw-r--r--src/progman.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/progman.c b/src/progman.c
index cee6775..3211d9a 100644
--- a/src/progman.c
+++ b/src/progman.c
@@ -150,11 +150,11 @@ void
unlink_prog (struct prog *pp)
{
struct prog *x;
- if (x = pp->prev)
+ if ((x = pp->prev))
x->next = pp->next;
else
proghead = pp->next;
- if (x = pp->next)
+ if ((x = pp->next))
x->prev = pp->prev;
else
progtail = pp->prev;

Return to:

Send suggestions and report system problems to the System administrator.