1
0
Fork 0
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:
Björn Stenberg 2003-03-11 11:33:50 +00:00
parent 7b26ebd9de
commit c38c70194f

View file

@ -853,7 +853,7 @@ static int onplay_screen(char* dir, char* file)
if (dir[1])
snprintf(buf, sizeof buf, "%s/%s", dir, file);
else
snprintf(buf, sizeof buf, "/%s", dir, file);
snprintf(buf, sizeof buf, "/%s", file);
if (playing) {
items[lastitem].desc=str(LANG_QUEUE);