diff options
Diffstat (limited to 'Src/Modules')
-rw-r--r-- | Src/Modules/zutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Modules/zutil.c b/Src/Modules/zutil.c index 525d570a0..ef00ccdee 100644 --- a/Src/Modules/zutil.c +++ b/Src/Modules/zutil.c @@ -430,7 +430,7 @@ bin_zstyle(char *nam, char **args, char *ops, int func) !strcmp(s->vals[0], "on") || !strcmp(s->vals[0], "1")); } - return (args[0][1] == 't'); + return (args[0][1] == 't' ? (s ? 1 : 2) : 0); } break; case 'm': |