diff --git a/src/modal.c b/src/modal.c index 661a36b..0c1af6e 100644 --- a/src/modal.c +++ b/src/modal.c @@ -237,10 +237,9 @@ parse_frag(char **side, char *s) { char c, *cap; while((c = *s) && c == ' ') s++; - if(c == ')' || (c == '<' && s[1] == '>') || (c == '>' && s[1] == '<')) { + if(c == ')' || (c == '<' && s[1] == '>') || (c == '>' && s[1] == '<')) *side = dict_, *dict_++ = 0; - return s; - } else { + else { cap = walk(s), *side = dict_; if(c == '(') dict_ = copy(s + 1, dict_, cap - s - 2);