From c38c70194f6374a3fedd8a622ca0c668ff52e811 Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Tue, 11 Mar 2003 11:33:50 +0000 Subject: Fix: Too many arguments to snprintf git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3429 a1c6a512-1295-4272-9138-f99709370657 --- apps/tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/tree.c b/apps/tree.c index 7cb57e7757..8fbe6ad404 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -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); -- cgit v1.2.3