diff --git a/src/modal.c b/src/modal.c index c5db6cf..6582ee6 100644 --- a/src/modal.c +++ b/src/modal.c @@ -26,8 +26,7 @@ walk(char *s) if(!depth) return s; } } - while((c = *s) && !spacer(c) && *s++) - ; + while((c = *s) && !spacer(c)) s++; return s; }