commit 5b0108187c5b7b5466f2e8b5c7172e7b9aa3e44d from: Omar Polo date: Mon Jul 05 15:44:22 2021 UTC chain else/if commit - 5492b68f8366ec397a44c05e441ac97c4f56b21a commit + 5b0108187c5b7b5466f2e8b5c7172e7b9aa3e44d blob - f8e117b799a6177c228a73dce744667192529ab4 blob + 74bf37b2eb0117d7607d19ce9df11484d5537817 --- wrap.c +++ wrap.c @@ -134,9 +134,8 @@ wrap_text(struct buffer *buffer, const char *prfx, str flags = 1; start = end; cur = prfxwidth + utf8_swidth_between(start, lastchar); - } else { - if (strchr(separators, *line) != NULL) - lastsep = line; + } else if (strchr(separators, *line) != NULL) { + lastsep = line; } lastchar = utf8_prev_cp(line, l->line);