Shortnames must be uppercase...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5994 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e52e3f713f
commit
6333f796d0
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue