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:
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user