1
0
forked from aniani/vim

patch 8.2.3967: error messages are spread out

Problem:    Error messages are spread out.
Solution:   Move more errors to errors.h.
This commit is contained in:
Bram Moolenaar
2022-01-01 14:19:49 +00:00
parent b37a65e4bf
commit 460ae5dfca
70 changed files with 403 additions and 334 deletions

View File

@@ -1507,7 +1507,7 @@ gui_mch_early_init_check(int give_message)
{
gui.dying = TRUE;
if (give_message)
emsg(_((char *)e_opendisp));
emsg(_((char *)e_cannot_open_display));
return FAIL;
}
return OK;
@@ -1553,7 +1553,7 @@ gui_mch_init_check(void)
if (!gtk_init_check(&gui_argc, &gui_argv))
{
gui.dying = TRUE;
emsg(_((char *)e_opendisp));
emsg(_((char *)e_cannot_open_display));
return FAIL;
}