mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 16:28:17 +00:00
fixup! cursor_shape: check if modep is nonnull
This commit is contained in:
@@ -104,7 +104,7 @@ char_u *parse_shape_opt(int what)
|
||||
if (*p_guicursor == NUL) {
|
||||
modep = (char_u *)"a:block-blinkon0";
|
||||
}
|
||||
while (*modep != NUL) {
|
||||
while (modep != NULL && *modep != NUL) {
|
||||
colonp = vim_strchr(modep, ':');
|
||||
commap = vim_strchr(modep, ',');
|
||||
|
||||
|
Reference in New Issue
Block a user