1
0
forked from aniani/vim

patch 8.2.4003: error messages are spread out

Problem:    Error messages are spread out.
Solution:   Move more error messages to errors.h.
This commit is contained in:
Bram Moolenaar
2022-01-04 19:57:55 +00:00
parent 6cac77016b
commit d88be5be80
14 changed files with 197 additions and 65 deletions

View File

@@ -1003,9 +1003,9 @@ ambw_end:
#if defined(FEAT_GUI_GTK)
if (errmsg == NULL && varp == &p_tenc && gui.in_use)
{
// GTK+ 2 uses only a single encoding, and that is UTF-8.
// GTK uses only a single encoding, and that is UTF-8.
if (STRCMP(p_tenc, "utf-8") != 0)
errmsg = N_("E617: Cannot be changed in the GTK+ 2 GUI");
errmsg = e_cannot_be_changed_in_gtk_GUI;
}
#endif