summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2004-04-10 09:04:26 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2004-04-10 09:04:26 +0000
commit99483dee1c4d8bcb6600c8407b4fadc76dab4e91 (patch)
tree34ec45bf9efa46cd34315b4601a4f5a81ac5aeb1
parent47e0079fab59c1a1b26e22ca82f73abddbb3089b (diff)
downloadrockbox-99483dee1c4d8bcb6600c8407b4fadc76dab4e91.tar.gz
rockbox-99483dee1c4d8bcb6600c8407b4fadc76dab4e91.tar.bz2
rockbox-99483dee1c4d8bcb6600c8407b4fadc76dab4e91.zip
talkbox clip renamed to ".dirname.tbx", most people voted for a non-mp3 extension
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4485 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/talk.c2
-rw-r--r--apps/tree.c3
-rw-r--r--uisimulator/common/stubs.c2
3 files changed, 3 insertions, 4 deletions
diff --git a/apps/talk.c b/apps/talk.c
index 9ea547bb16..a13dd60ec3 100644
--- a/apps/talk.c
+++ b/apps/talk.c
@@ -37,7 +37,7 @@ extern void bitswap(unsigned char *data, int length); /* no header for this */
/***************** Constants *****************/
#define QUEUE_SIZE 50
-const char* dir_thumbnail_name = ".dirname.mp3";
+const char* dir_thumbnail_name = ".dirname.tbx";
/***************** Data types *****************/
diff --git a/apps/tree.c b/apps/tree.c
index afdef29228..47447fc85b 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -209,8 +209,7 @@ static int build_playlist(int start_index)
for(i = 0;i < filesindir;i++)
{
- if((dircache[i].attr & TREE_ATTR_MASK) == TREE_ATTR_MPA
- && (strcmp(dircache[i].name, dir_thumbnail_name) != 0))
+ if((dircache[i].attr & TREE_ATTR_MASK) == TREE_ATTR_MPA)
{
DEBUGF("Adding %s\n", dircache[i].name);
if (playlist_add(dircache[i].name) < 0)
diff --git a/uisimulator/common/stubs.c b/uisimulator/common/stubs.c
index 0cbc16de6b..98c574ffaa 100644
--- a/uisimulator/common/stubs.c
+++ b/uisimulator/common/stubs.c
@@ -271,4 +271,4 @@ int talk_spell(char* spell, bool enqueue)
return 0;
}
-const char* dir_thumbnail_name = ".dirname.mp3";
+const char* dir_thumbnail_name = ".dirname.tbx";