summaryrefslogtreecommitdiffstats
path: root/firmware/font.c
diff options
context:
space:
mode:
authorFred Bauer <fred.w.bauer@gmail.com>2011-10-14 20:42:14 +0000
committerFred Bauer <fred.w.bauer@gmail.com>2011-10-14 20:42:14 +0000
commit08979ba835188594fefb1886f328da53edc3f1cc (patch)
treed4e7aae12b42b8f7bb7ce6b55e9d8fa49584487b /firmware/font.c
parentde3e2e7efc982b316227c96dcab57293922b1e26 (diff)
downloadrockbox-08979ba835188594fefb1886f328da53edc3f1cc.tar.gz
rockbox-08979ba835188594fefb1886f328da53edc3f1cc.tar.bz2
rockbox-08979ba835188594fefb1886f328da53edc3f1cc.zip
Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30753 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/font.c')
-rw-r--r--firmware/font.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/firmware/font.c b/firmware/font.c
index 577fb8af81..0f977c7059 100644
--- a/firmware/font.c
+++ b/firmware/font.c
@@ -345,10 +345,8 @@ static struct font* font_load_cached(struct font* pf)
return pf;
}
-static bool internal_load_font(int font_id, const char *path,
- char *buf, size_t buf_size,
- int handle
- )
+static bool internal_load_font(const char *path, char *buf,
+ size_t buf_size, int handle)
{
size_t size;
struct font* pf = pf_from_handle(handle);
@@ -520,7 +518,7 @@ int font_load_ex(const char *path, size_t buffer_size)
buffer = buffer_from_handle(handle);
lock_font_handle(handle, true);
- if (!internal_load_font(font_id, path, buffer, buffer_size, handle))
+ if (!internal_load_font(path, buffer, buffer_size, handle))
{
lock_font_handle(handle, false);
core_free(handle);