From 47f150514a9918e6f5d75a4360266d8c02f912d6 Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Sun, 26 Mar 2017 20:51:20 +1000 Subject: [PATCH] fix silly mistake --- utils/magiedit/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/magiedit/main.c b/utils/magiedit/main.c index a5e5b72..0e8f106 100644 --- a/utils/magiedit/main.c +++ b/utils/magiedit/main.c @@ -162,7 +162,7 @@ char *message_editor() { if (stage == 1 && ch.chKeyPress == '[') { stage = 2; continue; - } else { + } else if (stage != 0) { stage = 0; continue; }