forked from len0rd/rockbox
Use the correct constant to avoid confusion
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12476 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e26124b327
commit
3036a2a2e2
1 changed files with 1 additions and 1 deletions
|
@ -1460,7 +1460,7 @@ static void randomize_dos_name(unsigned char *name)
|
|||
num[7-(unsigned int)(tilde-name)] = 0;
|
||||
cnt = atoi(num) + 1;
|
||||
}
|
||||
cnt %= 9999999; /* protection */
|
||||
cnt %= 10000000; /* protection */
|
||||
snprintf(num, 9, "~%d", cnt); /* allow room for trailing zero */
|
||||
numlen = strlen(num); /* required space */
|
||||
offset = (unsigned int)(lastpt ? lastpt - name : 8); /* prev startpoint */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue