1
0
Fork 0
forked from len0rd/rockbox

Added support for configurable rockbox directory. FS#9567 by Alex Bennee.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19208 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2008-11-24 22:16:07 +00:00
parent 4c43f7be0a
commit ad8d6031c1
9 changed files with 217 additions and 144 deletions

View file

@ -443,7 +443,7 @@ static char *get_image_filename(const char *start, const char* bmpdir,
{
const char *end = strchr(start, '|');
if ( !end || (end - start) >= (buf_size - ROCKBOX_DIR_LEN - 2) )
if ( !end || (end - start) >= (buf_size - (int)ROCKBOX_DIR_LEN - 2) )
{
buf = "\0";
return NULL;