aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--print.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/print.c b/print.c
index e74fad8..42e80d5 100644
--- a/print.c
+++ b/print.c
@@ -22,7 +22,12 @@
#define CASE(N)\
- if (proc->args[arg_index] == N) return tprintf(proc, "%s", #N)
+ do {\
+ if (proc->args[arg_index] == N) {\
+ tprintf(proc, "%s", #N);\
+ return;\
+ }\
+ } while (0)
#define FLAGS_BEGIN\
do {\