mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 15:08:35 +00:00
refactor: reduce number of unique char casts
This commit is contained in:
@@ -1838,8 +1838,7 @@ char_u *get_foldtext(win_T *wp, linenr_T lnum, linenr_T lnume, foldinfo_T foldin
|
||||
curbuf = wp->w_buffer;
|
||||
|
||||
emsg_silent++; // handle exceptions, but don't display errors
|
||||
text = eval_to_string_safe(wp->w_p_fdt, NULL,
|
||||
was_set_insecurely(wp, (char_u *)"foldtext", OPT_LOCAL));
|
||||
text = eval_to_string_safe(wp->w_p_fdt, NULL, was_set_insecurely(wp, "foldtext", OPT_LOCAL));
|
||||
emsg_silent--;
|
||||
|
||||
if (text == NULL || did_emsg) {
|
||||
|
Reference in New Issue
Block a user