mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 03:48:18 +00:00
refactor: replace char_u #18429
Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -2109,7 +2109,7 @@ Dictionary nvim_eval_statusline(String str, Dict(eval_statusline) *opts, Error *
|
||||
bool highlights = false;
|
||||
|
||||
if (str.size < 2 || memcmp(str.data, "%!", 2)) {
|
||||
const char *const errmsg = check_stl_option((char_u *)str.data);
|
||||
const char *const errmsg = check_stl_option(str.data);
|
||||
if (errmsg) {
|
||||
api_set_error(err, kErrorTypeValidation, "%s", errmsg);
|
||||
return result;
|
||||
|
Reference in New Issue
Block a user