diff options
Diffstat (limited to 'src/nvim/misc1.c')
| -rw-r--r-- | src/nvim/misc1.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c index ba26381e23..db34159f24 100644 --- a/src/nvim/misc1.c +++ b/src/nvim/misc1.c @@ -2223,7 +2223,7 @@ change_warning (   *   * return the 'y' or 'n'   */ -int ask_yesno(char_u *str, int direct) +int ask_yesno(const char *str, bool direct)  {    int r = ' ';    int save_State = State; @@ -2545,7 +2545,7 @@ void vim_beep(unsigned val)       * function give the user a hint where the beep comes from. */      if (vim_strchr(p_debug, 'e') != NULL) {        msg_source(hl_attr(HLF_W)); -      msg_attr((char_u *)_("Beep!"), hl_attr(HLF_W)); +      msg_attr(_("Beep!"), hl_attr(HLF_W));      }    }  } | 
