mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
ui_set_option: pass String.data, not String
This commit is contained in:
parent
f44fb5b1a5
commit
2cbeb7ca56
@ -213,7 +213,8 @@ static void ui_set_option(UI *ui, String name, Object value, Error *error)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
api_set_error(error, kErrorTypeValidation, "No such UI option: %s", name);
|
api_set_error(error, kErrorTypeValidation, "No such UI option: %s",
|
||||||
|
name.data);
|
||||||
#undef UI_EXT_OPTION
|
#undef UI_EXT_OPTION
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user