X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/halibut/blobdiff_plain/a80c47a8f5806b2163f99fadc374897519499670..a21240a984ff343f876a4897ab0310eb38304fe7:/bk_text.c diff --git a/bk_text.c b/bk_text.c index 4f8cdd7..e323802 100644 --- a/bk_text.c +++ b/bk_text.c @@ -497,7 +497,7 @@ static void text_output_many(textfile *tf, int n, wchar_t c) wchar_t s[2]; s[0] = c; s[1] = L'\0'; - while (n--) + while (n-- > 0) text_output(tf, s); }