From bbc32808320db7c8d79b0f3108285add30da6455 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Sun, 18 Sep 2016 22:33:55 +0200 Subject: [PATCH] - text.c: fix display of tabs and colors --- text.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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++; } } -- 2.39.5