diff options
Diffstat (limited to 'src/message.c')
-rw-r--r-- | src/message.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/message.c b/src/message.c index f6e8d3d9bd..6948cefe12 100644 --- a/src/message.c +++ b/src/message.c @@ -30,6 +30,7 @@ #include "screen.h" #include "term.h" #include "ui.h" +#include "os/os.h" #if defined(FEAT_FLOAT) && defined(HAVE_MATH_H) # include <math.h> @@ -736,11 +737,11 @@ int delete_first_msg(void) { void ex_messages(exarg_T *eap) { struct msg_hist *p; - char_u *s; + const char *s; msg_hist_off = TRUE; - s = mch_getenv((char_u *)"LANG"); + s = mch_getenv("LANG"); if (s != NULL && *s != NUL) msg_attr((char_u *) _("Messages maintainer: Bram Moolenaar <Bram@vim.org>"), |