Shortnames must be uppercase...

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5994 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2005-02-16 22:21:45 +00:00
parent e52e3f713f
commit 6333f796d0

View file

@ -1503,7 +1503,7 @@ static void randomize_dos_name(unsigned char *name)
int i;
unsigned char buf[5];
snprintf(buf, sizeof buf, "%04x", (unsigned)rand() & 0xffff);
snprintf(buf, sizeof buf, "%04X", (unsigned)rand() & 0xffff);
for (i = 0; (i < 4) && (name[i] != ' '); i++);
/* account for possible shortname length < 4 */