From 0b57fe78f64a087455237b2c8e01b738d68da98d Mon Sep 17 00:00:00 2001 From: Steve Gotthardt Date: Fri, 22 May 2009 04:03:14 +0000 Subject: FS#10211 Clear full size of display of calculator; not rounded size. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21026 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/calculator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') diff --git a/apps/plugins/calculator.c b/apps/plugins/calculator.c index 4af747016d..2d276c1747 100644 --- a/apps/plugins/calculator.c +++ b/apps/plugins/calculator.c @@ -1238,7 +1238,7 @@ void printResult(void) } rb->lcd_getstringsize(buf, &w, &h); - rb->screen_clear_area(rb->screens[0], 0, 0, LCD_WIDTH, REC_HEIGHT-1); + rb->screen_clear_area(rb->screens[0], 0, 0, LCD_WIDTH, Y_1_POS - 1); rb->lcd_putsxy(4, Y_1_POS - h -1, operbuf); rb->lcd_putsxy(LCD_WIDTH - w - 4, Y_1_POS - h -1, buf); rb->lcd_update_rect(0, 1, LCD_WIDTH, Y_1_POS); -- cgit v1.2.3