From f97746a87b72ef9c71c99dc5789f0bbe4b7603e2 Mon Sep 17 00:00:00 2001 From: Renaud Fivet Date: Mon, 16 Mar 2015 13:47:03 +0800 Subject: [PATCH] CID 39914: Fallthrough in switch was altering value of $gflags when assigning to $line. --- eval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eval.c b/eval.c index b5a82b0..82160fa 100644 --- a/eval.c +++ b/eval.c @@ -1036,7 +1036,7 @@ static int svar(struct variable_description *var, char *value) case EVLWIDTH: break; case EVLINE: - putctext(value); + return putctext( value) ; case EVGFLAGS: gflags = atoi(value); break;