0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.0816: terminal test fails when compiled with Athena

Problem:    Terminal test fails when compiled with Athena.
Solution:   Do give an error when the GUI is not running. (hint by Dominique
            Pelle, closes #5928, closes #6132)
This commit is contained in:
Bram Moolenaar
2020-05-24 17:23:45 +02:00
parent 9c65253fe7
commit 87202264f8
6 changed files with 27 additions and 10 deletions

View File

@@ -4741,7 +4741,7 @@ gui_get_color(char_u *name)
&& gui.in_use
#endif
)
semsg(_("E254: Cannot allocate color %s"), name);
semsg(_(e_alloc_color), name);
return t;
}