summaryrefslogtreecommitdiff
path: root/apps/gui/line.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/line.c')
-rw-r--r--apps/gui/line.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/gui/line.c b/apps/gui/line.c
index 5e22d6da26..4d08a34372 100644
--- a/apps/gui/line.c
+++ b/apps/gui/line.c
@@ -210,6 +210,8 @@ static void print_line(struct screen *display,
210 tempbuf_idx = tempbuf[tempbuf_idx] = 0; 210 tempbuf_idx = tempbuf[tempbuf_idx] = 0;
211 put_text(display, xpos, y, line, tempbuf, false, 0); 211 put_text(display, xpos, y, line, tempbuf, false, 0);
212 xpos += display->getstringsize(tempbuf, NULL, NULL); 212 xpos += display->getstringsize(tempbuf, NULL, NULL);
213 if (xpos >= max_width)
214 return;
213 } 215 }
214next: 216next:
215 ch = *fmt++; 217 ch = *fmt++;