summaryrefslogtreecommitdiffstats
path: root/apps/recorder/icons.c
diff options
context:
space:
mode:
authorMarkus Braun <markus.braun@krawel.de>2002-08-21 06:23:23 +0000
committerMarkus Braun <markus.braun@krawel.de>2002-08-21 06:23:23 +0000
commitc7aaca4615e2fa0c2316f81d5c229715e11dc0e7 (patch)
treeae0e2add7368fed4bcd0fc2c94f544875d759d66 /apps/recorder/icons.c
parentbcbb8046f8d5ca3339e1793826b04d2f387138b8 (diff)
downloadrockbox-c7aaca4615e2fa0c2316f81d5c229715e11dc0e7.tar.gz
rockbox-c7aaca4615e2fa0c2316f81d5c229715e11dc0e7.tar.bz2
rockbox-c7aaca4615e2fa0c2316f81d5c229715e11dc0e7.zip
Make use of the fixed lcd_getstringsize() for prop fonts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1835 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder/icons.c')
-rw-r--r--apps/recorder/icons.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/recorder/icons.c b/apps/recorder/icons.c
index bac719e0f1..eb2e4e21fb 100644
--- a/apps/recorder/icons.c
+++ b/apps/recorder/icons.c
@@ -237,7 +237,6 @@ void statusbar_icon_volume(int percent)
snprintf(buffer, sizeof(buffer), "%2d", percent);
#if defined(LCD_PROPFONTS)
lcd_getstringsize(buffer, 0, &width, &height);
- width += strlen(buffer) - 1;
#elif defined(LOADABLE_FONTS)
font = lcd_getcurrentldfont();
lcd_getstringsize(buffer, font, &width, &height);
@@ -320,7 +319,6 @@ void statusbar_time(void)
minute & 0x0f);
#if defined(LCD_PROPFONTS)
lcd_getstringsize(buffer, 0, &width, &height);
- width += strlen(buffer) - 1;
#elif defined(LOADABLE_FONTS)
font = lcd_getcurrentldfont();
lcd_getstringsize(buffer, font, &width, &height);