🐛 Fix file name when carrying over last digit
This commit is contained in:
parent
3f5a52a070
commit
6bd7d47fc0
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ void openNextFile() {
|
|||
//We need to transfer carry if necessary (e.g. .z09 to .z10), otherwise just increase last digit
|
||||
if (file.name[fileNameLength - 1] == '9') {
|
||||
file.name[fileNameLength - 2] += 1;
|
||||
file.name[fileNameLength - 1] = 0;
|
||||
file.name[fileNameLength - 1] = '0';
|
||||
} else {
|
||||
file.name[fileNameLength - 1] += 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue