1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-03 04:23:42 -05:00

clang-check fix.

This commit is contained in:
Dave Davenport 2016-10-22 21:34:19 +02:00
parent 8d39b0e035
commit d25ad4dac6

View file

@ -449,7 +449,7 @@ static void textbox_cursor_inc_word ( textbox *tb )
break; break;
} }
} }
if ( *c == '\0' ) { if ( c == NULL || *c == '\0' ) {
return; return;
} }
while ( ( c = g_utf8_next_char ( c ) ) ) { while ( ( c = g_utf8_next_char ( c ) ) ) {