summaryrefslogtreecommitdiff
path: root/src/gui.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-05-24 17:23:45 +0200
committerBram Moolenaar <Bram@vim.org>2020-05-24 17:23:45 +0200
commit87202264f8e27f084c0e58f98aeb27fa5c6d5251 (patch)
tree759227c129d05bbc533dc54554258a9f303ada5f /src/gui.c
parent9c65253fe702ea010afec11aa971acd542c35de2 (diff)
downloadvim-git-87202264f8e27f084c0e58f98aeb27fa5c6d5251.tar.gz
patch 8.2.0816: terminal test fails when compiled with Athenav8.2.0816
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)
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui.c b/src/gui.c
index 13b65cb03..93b8bb63f 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -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;
}