diff options
author | James McCoy <jamessan@jamessan.com> | 2017-12-15 19:10:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-15 19:10:25 -0500 |
commit | 7afd26a6d189d1ca798f93db8661bd656a37265f (patch) | |
tree | 1c2aa0dbd479f322fa6d8221b9f141fc6e2d3a44 /src/nvim/option.c | |
parent | 6ff13d78b7eb0a1fae2e2e8cdd054072e1467158 (diff) | |
parent | dcb2780b834d4df006f55a0475e03bd2a38ac344 (diff) | |
download | rneovim-7afd26a6d189d1ca798f93db8661bd656a37265f.tar.gz rneovim-7afd26a6d189d1ca798f93db8661bd656a37265f.tar.bz2 rneovim-7afd26a6d189d1ca798f93db8661bd656a37265f.zip |
Merge pull request #7306 from DarkDeepBlue/vim-8.0.0074
vim-patch:8.0.0074
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r-- | src/nvim/option.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c index 499cf79836..a345906200 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -2258,7 +2258,7 @@ int was_set_insecurely(char_u *opt, int opt_flags) uint32_t *flagp = insecure_flag(idx, opt_flags); return (*flagp & P_INSECURE) != 0; } - EMSG2(_(e_intern2), "was_set_insecurely()"); + internal_error("was_set_insecurely()"); return -1; } @@ -2317,8 +2317,8 @@ set_string_option_direct ( if (idx == -1) { // Use name. idx = findoption((const char *)name); if (idx < 0) { // Not found (should not happen). - EMSG2(_(e_intern2), "set_string_option_direct()"); - EMSG2(_("For option %s"), name); + internal_error("set_string_option_direct()"); + IEMSG2(_("For option %s"), name); return; } } @@ -5584,7 +5584,7 @@ static char_u *get_varp(vimoption_T *p) case PV_KMAP: return (char_u *)&(curbuf->b_p_keymap); case PV_SCL: return (char_u *)&(curwin->w_p_scl); case PV_WINHL: return (char_u *)&(curwin->w_p_winhl); - default: EMSG(_("E356: get_varp ERROR")); + default: IEMSG(_("E356: get_varp ERROR")); } /* always return a valid pointer to avoid a crash! */ return (char_u *)&(curbuf->b_p_wm); |