mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 00:08:19 +00:00
refactor: reduce number of unique char casts
This commit is contained in:
@@ -3235,7 +3235,7 @@ void maketitle(void)
|
||||
int use_sandbox = false;
|
||||
int save_called_emsg = called_emsg;
|
||||
|
||||
use_sandbox = was_set_insecurely(curwin, (char_u *)"titlestring", 0);
|
||||
use_sandbox = was_set_insecurely(curwin, "titlestring", 0);
|
||||
called_emsg = false;
|
||||
build_stl_str_hl(curwin, (char_u *)buf, sizeof(buf),
|
||||
p_titlestring, use_sandbox,
|
||||
@@ -3353,7 +3353,7 @@ void maketitle(void)
|
||||
int use_sandbox = false;
|
||||
int save_called_emsg = called_emsg;
|
||||
|
||||
use_sandbox = was_set_insecurely(curwin, (char_u *)"iconstring", 0);
|
||||
use_sandbox = was_set_insecurely(curwin, "iconstring", 0);
|
||||
called_emsg = false;
|
||||
build_stl_str_hl(curwin, icon_str, sizeof(buf),
|
||||
p_iconstring, use_sandbox,
|
||||
|
Reference in New Issue
Block a user