summaryrefslogtreecommitdiff
path: root/apps/cuesheet.h
diff options
context:
space:
mode:
authorRobert Kukla <roolku@rockbox.org>2007-11-12 12:39:56 +0000
committerRobert Kukla <roolku@rockbox.org>2007-11-12 12:39:56 +0000
commite1c45d227b0f52189e13baf1359ddd17e1d48745 (patch)
tree2b787446ce662a0a9b58c3e92c7487d4e3da54b2 /apps/cuesheet.h
parent1ba1c684cb73d480013da4c29cea79d1eeeec765 (diff)
FS#6944 - honour the default codepage setting when reading cue sheets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15595 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/cuesheet.h')
-rw-r--r--apps/cuesheet.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/cuesheet.h b/apps/cuesheet.h
index f66b25e800..76ffe9681d 100644
--- a/apps/cuesheet.h
+++ b/apps/cuesheet.h
@@ -27,9 +27,9 @@
#define MAX_TRACKS 99 /* Max number of tracks in a cuesheet */
struct cue_track_info {
- char title[MAX_NAME];
- char performer[MAX_NAME];
- char songwriter[MAX_NAME];
+ char title[MAX_NAME*3+1];
+ char performer[MAX_NAME*3+1];
+ char songwriter[MAX_NAME*3+1];
unsigned long offset; /* ms from start of track */
};
@@ -37,9 +37,9 @@ struct cuesheet {
char path[MAX_PATH];
char audio_filename[MAX_PATH];
- char title[MAX_NAME];
- char performer[MAX_NAME];
- char songwriter[MAX_NAME];
+ char title[MAX_NAME*3+1];
+ char performer[MAX_NAME*3+1];
+ char songwriter[MAX_NAME*3+1];
int track_count;
struct cue_track_info tracks[MAX_TRACKS];