From 249591057b4840785c50e41dd850efb8a8faf435 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 7 May 2022 20:01:16 +0100 Subject: patch 8.2.4911: the mode #defines are not clearly named Problem: The mode #defines are not clearly named. Solution: Prepend MODE_. Renumber them to put the mapped modes first. --- src/debugger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/debugger.c') diff --git a/src/debugger.c b/src/debugger.c index 6c38e5a3d3..87cd398bc8 100644 --- a/src/debugger.c +++ b/src/debugger.c @@ -88,7 +88,7 @@ do_debug(char_u *cmd) emsg_silent = FALSE; // display error messages redir_off = TRUE; // don't redirect debug commands - State = NORMAL; + State = MODE_NORMAL; debug_mode = TRUE; if (!debug_did_msg) -- cgit v1.2.3