diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-05-30 06:55:48 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-05-30 06:55:48 +0000 |
commit | 43d96f9c41c0209985b539f44b127e0f98ed1aa2 (patch) | |
tree | 8f905ad56873801d91fdbdb5aef648b139413fdb /firmware/drivers/lcd.c | |
parent | 7ec047c3a404320ef40ca5812ae5e542e35f0cc2 (diff) | |
download | rockbox-43d96f9c41c0209985b539f44b127e0f98ed1aa2.tar.gz rockbox-43d96f9c41c0209985b539f44b127e0f98ed1aa2.zip |
lcd_getfontsize() now takes an unsigned font size as first argument
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@810 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/lcd.c')
-rw-r--r-- | firmware/drivers/lcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/lcd.c b/firmware/drivers/lcd.c index 21362918c8..6204d647b4 100644 --- a/firmware/drivers/lcd.c +++ b/firmware/drivers/lcd.c | |||
@@ -715,7 +715,7 @@ void lcd_clearpixel(int x, int y) | |||
715 | /* | 715 | /* |
716 | * Return width and height of a given font. | 716 | * Return width and height of a given font. |
717 | */ | 717 | */ |
718 | void lcd_getfontsize(int font, int *width, int *height) | 718 | void lcd_getfontsize(unsigned int font, int *width, int *height) |
719 | { | 719 | { |
720 | if(font < sizeof(fonts)) { | 720 | if(font < sizeof(fonts)) { |
721 | *width = fonts[font]; | 721 | *width = fonts[font]; |