commit 3c1f04f18c0c08476bd685984b0fb6801017b11d from: Stefan Sperling date: Thu Sep 13 08:16:45 2018 UTC fix infinite loop when tog displays wide characters commit - 3840f4c96dbf09953b6c83fdc338a29817d983d4 commit + 3c1f04f18c0c08476bd685984b0fb6801017b11d blob - d302f3408ca7c7d8b22d2bb3b9c1a45545986874 blob + b06d551f87a1ef879bfdf855b30647b1fe26e1ba --- tog/tog.c +++ tog/tog.c @@ -608,10 +608,9 @@ format_line(wchar_t **wlinep, int *widthp, const char break; case 1: case 2: - if (cols + width <= wlimit) { + if (cols + width <= wlimit) cols += width; - i++; - } + i++; break; case -1: if (wline[i] == L'\t')