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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user