forked from aniani/vim
patch 9.0.1594: some internal error messages are translated
Problem: Some internal error messages are translated.
Solution: Consistently do not translate internal error messages.
(closes #12459)
This commit is contained in:
committed by
Bram Moolenaar
parent
3c240f608c
commit
68ebcee023
@@ -6532,7 +6532,7 @@ get_varp(struct vimoption *p)
|
||||
case PV_VSTS: return (char_u *)&(curbuf->b_p_vsts);
|
||||
case PV_VTS: return (char_u *)&(curbuf->b_p_vts);
|
||||
#endif
|
||||
default: iemsg(_(e_get_varp_error));
|
||||
default: iemsg(e_get_varp_error);
|
||||
}
|
||||
// always return a valid pointer to avoid a crash!
|
||||
return (char_u *)&(curbuf->b_p_wm);
|
||||
|
||||
Reference in New Issue
Block a user