mirror of
https://github.com/neovim/neovim
synced 2025-07-16 09:11:51 +00:00
revert: "refactor: use S_LEN macro" (#29319)
revert: "refactor: use S_LEN(s) instead of s, n (#29219)"
This reverts commit c37695a5d5
.
This commit is contained in:
@ -789,7 +789,7 @@ int win_fdccol_count(win_T *wp)
|
||||
const char *fdc = wp->w_p_fdc;
|
||||
|
||||
// auto:<NUM>
|
||||
if (strncmp(fdc, S_LEN("auto")) == 0) {
|
||||
if (strncmp(fdc, "auto", 4) == 0) {
|
||||
const int fdccol = fdc[4] == ':' ? fdc[5] - '0' : 1;
|
||||
int needed_fdccols = getDeepestNesting(wp);
|
||||
return MIN(fdccol, needed_fdccols);
|
||||
|
Reference in New Issue
Block a user