mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 05:58:33 +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:
@@ -904,7 +904,7 @@ char *replace_termcodes(const char *const from, const size_t from_len, char **co
|
||||
}
|
||||
// Check for special <> keycodes, like "<C-S-LeftMouse>"
|
||||
if (do_special && ((flags & REPTERM_DO_LT) || ((end - src) >= 3
|
||||
&& strncmp(src, S_LEN("<lt>")) != 0))) {
|
||||
&& strncmp(src, "<lt>", 4) != 0))) {
|
||||
// Change <SID>Func to K_SNR <script-nr> _Func. This name is used
|
||||
// for script-local user functions.
|
||||
// (room: 5 * 6 = 30 bytes; needed: 3 + <nr> + 1 <= 14)
|
||||
|
Reference in New Issue
Block a user