mirror of
https://github.com/neovim/neovim.git
synced 2025-09-25 20:48:32 +00:00
refactor: replace char_u variables and functions with char
Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -4874,7 +4874,7 @@ void ex_mkspell(exarg_T *eap)
|
||||
{
|
||||
int fcount;
|
||||
char_u **fnames;
|
||||
char_u *arg = eap->arg;
|
||||
char_u *arg = (char_u *)eap->arg;
|
||||
bool ascii = false;
|
||||
|
||||
if (STRNCMP(arg, "-ascii", 6) == 0) {
|
||||
@@ -5501,7 +5501,7 @@ static void spell_message(const spellinfo_T *spin, char_u *str)
|
||||
// ":[count]spellrare {word}"
|
||||
void ex_spell(exarg_T *eap)
|
||||
{
|
||||
spell_add_word(eap->arg, (int)STRLEN(eap->arg),
|
||||
spell_add_word((char_u *)eap->arg, (int)STRLEN(eap->arg),
|
||||
eap->cmdidx == CMD_spellwrong ? SPELL_ADD_BAD :
|
||||
eap->cmdidx == CMD_spellrare ? SPELL_ADD_RARE : SPELL_ADD_GOOD,
|
||||
eap->forceit ? 0 : (int)eap->line2,
|
||||
|
Reference in New Issue
Block a user