aboutsummaryrefslogtreecommitdiff
path: root/src/cursor_shape.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cursor_shape.c')
-rw-r--r--src/cursor_shape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cursor_shape.c b/src/cursor_shape.c
index 05d51e1c9d..14f22c5a6f 100644
--- a/src/cursor_shape.c
+++ b/src/cursor_shape.c
@@ -61,7 +61,7 @@ char_u *parse_shape_opt(int what)
* Repeat for all comma separated parts.
*/
modep = p_guicursor;
- while (*modep != NUL) {
+ while (*modep != '\0') {
colonp = vim_strchr(modep, ':');
if (colonp == NULL)
return (char_u *)N_("E545: Missing colon");