mirror of
https://github.com/neovim/neovim.git
synced 2025-12-08 07:32:40 +00:00
refactor(macroman): get rid of MB_COPY_CHAR macro
clean up docs for MB_PTR_ADV and MB_PTR_BACK
This commit is contained in:
@@ -4969,11 +4969,11 @@ static int get_string_tv(char_u **arg, typval_T *rettv, int evaluate)
|
||||
FALLTHROUGH;
|
||||
|
||||
default:
|
||||
MB_COPY_CHAR(p, name);
|
||||
mb_copy_char((const char_u **)&p, &name);
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
MB_COPY_CHAR(p, name);
|
||||
mb_copy_char((const char_u **)&p, &name);
|
||||
}
|
||||
}
|
||||
*name = NUL;
|
||||
@@ -5033,7 +5033,7 @@ static int get_lit_string_tv(char_u **arg, typval_T *rettv, int evaluate)
|
||||
}
|
||||
++p;
|
||||
}
|
||||
MB_COPY_CHAR(p, str);
|
||||
mb_copy_char((const char_u **)&p, &str);
|
||||
}
|
||||
*str = NUL;
|
||||
*arg = p + 1;
|
||||
|
||||
Reference in New Issue
Block a user