From: svenhoefer Date: Sun, 18 Sep 2016 20:33:55 +0000 (+0200) Subject: - text.c: fix display of tabs and colors X-Git-Url: https://git.webhop.me/?a=commitdiff_plain;h=bbc32808320db7c8d79b0f3108285add30da6455;p=shellexec.git - text.c: fix display of tabs and colors --- diff --git a/text.c b/text.c index 32cd489..dd000d2 100644 --- a/text.c +++ b/text.c @@ -402,7 +402,9 @@ void RenderString(char *string, int sx, int sy, int maxwidth, int layout, int si { sx=((sx/TABULATOR)+1)*TABULATOR; } + break; } + rptr++; } else { @@ -410,7 +412,6 @@ void RenderString(char *string, int sx, int sy, int maxwidth, int layout, int si return; /* string > maxwidth */ sx += charwidth; } - //rptr++; } }