diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/text_widget.c | 2 |
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; } |