1
0
mirror of https://git.code.sf.net/p/zint/code synced 2025-12-17 18:07:02 +00:00

frontend: batch: for @ use + instead of * on Windows as * not allowed

in filenames
GUI: sequence: similarly for * use + instead of * on Windows
This commit is contained in:
gitlost
2022-07-04 21:55:06 +01:00
parent d6dddfa2ce
commit 8525597b81
6 changed files with 40 additions and 24 deletions

View File

@@ -120,7 +120,11 @@ QString SequenceWindow::apply_format(const QString& raw_number)
adjusted += raw_number[inpos - 1];
inpos--;
} else {
#ifndef _WIN32
adjusted += '*';
#else
adjusted += '+';
#endif
}
break;
default:
@@ -129,7 +133,7 @@ QString SequenceWindow::apply_format(const QString& raw_number)
}
}
for(i = format_len; i > 0; i--) {
for (i = format_len; i > 0; i--) {
reversed += adjusted[i - 1];
}