summaryrefslogtreecommitdiff
path: root/src/gui/text_widget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/text_widget.c')
-rw-r--r--src/gui/text_widget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text_widget.c b/src/gui/text_widget.c
index 64bf161..eea2613 100644
--- a/src/gui/text_widget.c
+++ b/src/gui/text_widget.c
@@ -49,7 +49,7 @@ void text_widget_draw( void *obj, graphics_context_t *context )
vga_draw_char( context, *p, x + w, y + h, widget->base.background_color,
VGA_COLOR_WHITE );
w += 9;
- if( w >= widget->base.w - 9 ) {
+ if( w >= widget->base.w - 10 ) {
h += 16;
w = 0;
}