summaryrefslogtreecommitdiff
path: root/Src/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/parse.c')
-rw-r--r--Src/parse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/parse.c b/Src/parse.c
index f4ea639d6..433efb94e 100644
--- a/Src/parse.c
+++ b/Src/parse.c
@@ -1523,7 +1523,8 @@ par_funcdef(int *cmplx)
num++;
zshlex();
}
- *cmplx = (num > 0);
+ if (num > 0)
+ *cmplx = 1;
ecbuf[parg] = ecused - parg; /*?*/
ecbuf[parg+1] = num;
}