summaryrefslogtreecommitdiffstats
path: root/apps/plugins/calculator.c
diff options
context:
space:
mode:
authorSteve Gotthardt <gotthardt@rockbox.org>2009-05-22 04:03:14 +0000
committerSteve Gotthardt <gotthardt@rockbox.org>2009-05-22 04:03:14 +0000
commit0b57fe78f64a087455237b2c8e01b738d68da98d (patch)
treecc156e84b0419eb6111753ae937e3f1f799f38f2 /apps/plugins/calculator.c
parentfb6b15980a268e95523e63c37fe105a9640191b5 (diff)
downloadrockbox-0b57fe78f64a087455237b2c8e01b738d68da98d.tar.gz
rockbox-0b57fe78f64a087455237b2c8e01b738d68da98d.tar.bz2
rockbox-0b57fe78f64a087455237b2c8e01b738d68da98d.zip
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
Diffstat (limited to 'apps/plugins/calculator.c')
-rw-r--r--apps/plugins/calculator.c2
1 files changed, 1 insertions, 1 deletions
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);