diff options
author | Björn Stenberg <bjorn@haxx.se> | 2003-03-11 11:33:50 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2003-03-11 11:33:50 +0000 |
commit | c38c70194f6374a3fedd8a622ca0c668ff52e811 (patch) | |
tree | 510691de085052e2189710e4758a6c461e85aaeb | |
parent | 7b26ebd9de8a2442e364c100f0400dca490119dd (diff) | |
download | rockbox-c38c70194f6374a3fedd8a622ca0c668ff52e811.tar.gz rockbox-c38c70194f6374a3fedd8a622ca0c668ff52e811.zip |
Fix: Too many arguments to snprintf
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3429 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
853 | if (dir[1]) | 853 | if (dir[1]) |
854 | snprintf(buf, sizeof buf, "%s/%s", dir, file); | 854 | snprintf(buf, sizeof buf, "%s/%s", dir, file); |
855 | else | 855 | else |
856 | snprintf(buf, sizeof buf, "/%s", dir, file); | 856 | snprintf(buf, sizeof buf, "/%s", file); |
857 | 857 | ||
858 | if (playing) { | 858 | if (playing) { |
859 | items[lastitem].desc=str(LANG_QUEUE); | 859 | items[lastitem].desc=str(LANG_QUEUE); |