diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-01 14:19:49 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-01 14:19:49 +0000 |
commit | 460ae5dfca31fa627531c263184849976755cf6b (patch) | |
tree | d94de6a24285bc10fd62ad4ae9aecb53f9a7e913 /src/gui_gtk_x11.c | |
parent | b37a65e4bf08c4eec4fa5b81a5efc3945fca44de (diff) |
patch 8.2.3967: error messages are spread outv8.2.3967
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
Diffstat (limited to 'src/gui_gtk_x11.c')
-rw-r--r-- | src/gui_gtk_x11.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c index ba3993b595..acd36d3adf 100644 --- a/src/gui_gtk_x11.c +++ b/src/gui_gtk_x11.c @@ -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; } |