refactor: replace char_u with char 18 (#21237)

refactor: replace char_u with char

Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
dundargoc
2023-01-09 15:37:34 +01:00
committed by GitHub
parent 9cd7edc6ad
commit 50f03773f4
45 changed files with 451 additions and 451 deletions

View File

@@ -1557,7 +1557,7 @@ void show_utf8(void)
}
clen = utf_ptr2len((char *)line + i);
}
sprintf((char *)IObuff + rlen, "%02x ", // NOLINT(runtime/printf)
sprintf(IObuff + rlen, "%02x ", // NOLINT(runtime/printf)
(line[i] == NL) ? NUL : line[i]); // NUL is stored as NL
clen--;
rlen += (int)strlen(IObuff + rlen);
@@ -1566,7 +1566,7 @@ void show_utf8(void)
}
}
msg((char *)IObuff);
msg(IObuff);
}
/// Return offset from "p" to the start of a character, including composing characters.