commit | 53989554a44caca0964376d60297f08ec257c53c | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Dec 23 22:59:18 2019 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Dec 23 22:59:18 2019 +0100 |
tree | 34d2140d4201e015661344b05ffb4c2d9aed97ff | |
parent | 70188f5b23ea7efec7adaf74e0af797d1bb1afe8 [diff] [blame] |
patch 8.2.0035: saving and restoring called_emsg is clumsy Problem: Saving and restoring called_emsg is clumsy. Solution: Count the number of error messages.
diff --git a/src/main.c b/src/main.c index 72e51a3..eec02ea 100644 --- a/src/main.c +++ b/src/main.c
@@ -4140,7 +4140,7 @@ if (xterm_dpy != NULL) res = serverGetVimNames(xterm_dpy); # endif - if (called_emsg) + if (did_emsg) mch_errmsg("\n"); } else if (STRICMP(argv[i], "--servername") == 0)