mirror of
https://github.com/vim/vim.git
synced 2025-09-30 04:44:14 -04:00
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.
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user