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 | |
parent | 7ec047c3a404320ef40ca5812ae5e542e35f0cc2 (diff) |
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')
-rw-r--r-- | firmware/drivers/lcd.c | 2 | ||||
-rw-r--r-- | firmware/drivers/lcd.h | 2 |
2 files changed, 2 insertions, 2 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) /* * Return width and height of a given font. */ -void lcd_getfontsize(int font, int *width, int *height) +void lcd_getfontsize(unsigned int font, int *width, int *height) { if(font < sizeof(fonts)) { *width = fonts[font]; diff --git a/firmware/drivers/lcd.h b/firmware/drivers/lcd.h index 7e5a4b8679..3557c9fe7c 100644 --- a/firmware/drivers/lcd.h +++ b/firmware/drivers/lcd.h @@ -82,7 +82,7 @@ extern void lcd_double_height (bool on); extern void lcd_putsxy(int x, int y, char *string, int font); extern void lcd_setfont(int font); -extern void lcd_getfontsize(int font, int *width, int *height); +extern void lcd_getfontsize(unsigned int font, int *width, int *height); extern void lcd_setmargins(int xmargin, int ymargin); extern void lcd_bitmap (unsigned char *src, int x, int y, int nx, int ny, bool clear); |