diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-12-23 22:59:18 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-12-23 22:59:18 +0100 |
commit | 53989554a44caca0964376d60297f08ec257c53c (patch) | |
tree | 34d2140d4201e015661344b05ffb4c2d9aed97ff /src/main.c | |
parent | 70188f5b23ea7efec7adaf74e0af797d1bb1afe8 (diff) | |
download | vim-git-53989554a44caca0964376d60297f08ec257c53c.tar.gz |
patch 8.2.0035: saving and restoring called_emsg is clumsyv8.2.0035
Problem: Saving and restoring called_emsg is clumsy.
Solution: Count the number of error messages.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index 72e51a310..eec02ea85 100644 --- a/src/main.c +++ b/src/main.c @@ -4140,7 +4140,7 @@ cmdsrv_main( 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) |