From ae181ca0ca370cfc951d2e6ccc1e1529aae41f89 Mon Sep 17 00:00:00 2001 From: Karl Kurbjun Date: Fri, 4 Sep 2009 04:13:38 +0000 Subject: Clock: Fix rendering. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22617 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/clock/clock_bitmap_strings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/plugins/clock/clock_bitmap_strings.c') diff --git a/apps/plugins/clock/clock_bitmap_strings.c b/apps/plugins/clock/clock_bitmap_strings.c index 1b527bb7e4..c909dbeb7b 100644 --- a/apps/plugins/clock/clock_bitmap_strings.c +++ b/apps/plugins/clock/clock_bitmap_strings.c @@ -43,6 +43,6 @@ void draw_string(struct screen* display, const struct picture* bitmaps, } void getstringsize(const struct picture* bitmaps, char* str, int *w, int *h ){ - *h=bitmaps->height; + *h=bitmaps->slide_height; *w=rb->strlen(str)*bitmaps->width; } -- cgit v1.2.3