forked from len0rd/rockbox
Fix: Too many arguments to snprintf
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3429 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7b26ebd9de
commit
c38c70194f
1 changed files with 1 additions and 1 deletions
|
|
@ -853,7 +853,7 @@ static int onplay_screen(char* dir, char* file)
|
||||||
if (dir[1])
|
if (dir[1])
|
||||||
snprintf(buf, sizeof buf, "%s/%s", dir, file);
|
snprintf(buf, sizeof buf, "%s/%s", dir, file);
|
||||||
else
|
else
|
||||||
snprintf(buf, sizeof buf, "/%s", dir, file);
|
snprintf(buf, sizeof buf, "/%s", file);
|
||||||
|
|
||||||
if (playing) {
|
if (playing) {
|
||||||
items[lastitem].desc=str(LANG_QUEUE);
|
items[lastitem].desc=str(LANG_QUEUE);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue