mirror of
https://github.com/neovim/neovim.git
synced 2025-10-12 04:46:10 +00:00
refactor: replace char_u with char
Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -418,7 +418,7 @@ bool terminal_enter(void)
|
||||
// placed at end of buffer to "follow" output. #11072
|
||||
handle_T save_curwin = curwin->handle;
|
||||
bool save_w_p_cul = curwin->w_p_cul;
|
||||
char_u *save_w_p_culopt = NULL;
|
||||
char *save_w_p_culopt = NULL;
|
||||
char_u save_w_p_culopt_flags = curwin->w_p_culopt_flags;
|
||||
int save_w_p_cuc = curwin->w_p_cuc;
|
||||
long save_w_p_so = curwin->w_p_so;
|
||||
@@ -426,7 +426,7 @@ bool terminal_enter(void)
|
||||
if (curwin->w_p_cul && curwin->w_p_culopt_flags & CULOPT_NBR) {
|
||||
if (STRCMP(curwin->w_p_culopt, "number")) {
|
||||
save_w_p_culopt = curwin->w_p_culopt;
|
||||
curwin->w_p_culopt = (char_u *)xstrdup("number");
|
||||
curwin->w_p_culopt = xstrdup("number");
|
||||
}
|
||||
curwin->w_p_culopt_flags = CULOPT_NBR;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user