mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
GUI: undo Windows * -> + change as formatting data, not filenames, doh
This commit is contained in:
parent
8525597b81
commit
9870fc6a61
@ -342,10 +342,10 @@ format of the automatically generated sequence where characters have the
|
|||||||
meanings as given below:
|
meanings as given below:
|
||||||
|
|
||||||
| Character | Effect |
|
| Character | Effect |
|
||||||
|:-------------------|:---------------------------------------------------|
|
|:-------------------|:------------------------|
|
||||||
|`$` | Insert leading zeroes |
|
|`$` | Insert leading zeroes |
|
||||||
|`#` | Insert leading spaces |
|
|`#` | Insert leading spaces |
|
||||||
|`*` | Insert leading asterisks (or plus signs on Windows)|
|
|`*` | Insert leading asterisks|
|
||||||
|Any other character | Interpreted literally |
|
|Any other character | Interpreted literally |
|
||||||
|
|
||||||
Table: {#tbl:sequence_format_characters tag=": Sequence Format Characters"}
|
Table: {#tbl:sequence_format_characters tag=": Sequence Format Characters"}
|
||||||
|
@ -502,10 +502,10 @@ format of the automatically generated sequence where characters have the
|
|||||||
meanings as given below:
|
meanings as given below:
|
||||||
|
|
||||||
Character Effect
|
Character Effect
|
||||||
--------------------- -----------------------------------------------------
|
--------------------- --------------------------
|
||||||
$ Insert leading zeroes
|
$ Insert leading zeroes
|
||||||
# Insert leading spaces
|
# Insert leading spaces
|
||||||
* Insert leading asterisks (or plus signs on Windows)
|
* Insert leading asterisks
|
||||||
Any other character Interpreted literally
|
Any other character Interpreted literally
|
||||||
|
|
||||||
: Table : Sequence Format Characters:
|
: Table : Sequence Format Characters:
|
||||||
|
@ -121,7 +121,7 @@
|
|||||||
<string>Format sequence using special characters<table cellspacing="3">
|
<string>Format sequence using special characters<table cellspacing="3">
|
||||||
<tr><td>$</td><td>Number or '0'</td></tr>
|
<tr><td>$</td><td>Number or '0'</td></tr>
|
||||||
<tr><td>#</td><td>Number or space</td></tr>
|
<tr><td>#</td><td>Number or space</td></tr>
|
||||||
<tr><td>*</td><td>Number or '*' ('+' on Windows)</td></tr>
|
<tr><td>*</td><td>Number or '*'</td></tr>
|
||||||
<tr><td>Other</td><td>Insert literally</td></tr>
|
<tr><td>Other</td><td>Insert literally</td></tr>
|
||||||
</table></string>
|
</table></string>
|
||||||
</property>
|
</property>
|
||||||
@ -139,7 +139,7 @@
|
|||||||
<string>Format sequence using special characters<table cellspacing="3">
|
<string>Format sequence using special characters<table cellspacing="3">
|
||||||
<tr><td>$</td><td>Number or '0'</td></tr>
|
<tr><td>$</td><td>Number or '0'</td></tr>
|
||||||
<tr><td>#</td><td>Number or space</td></tr>
|
<tr><td>#</td><td>Number or space</td></tr>
|
||||||
<tr><td>*</td><td>Number or '*' ('+' on Windows)</td></tr>
|
<tr><td>*</td><td>Number or '*'</td></tr>
|
||||||
<tr><td>Other</td><td>Insert literally</td></tr>
|
<tr><td>Other</td><td>Insert literally</td></tr>
|
||||||
</table></string>
|
</table></string>
|
||||||
</property>
|
</property>
|
||||||
|
@ -120,11 +120,7 @@ QString SequenceWindow::apply_format(const QString& raw_number)
|
|||||||
adjusted += raw_number[inpos - 1];
|
adjusted += raw_number[inpos - 1];
|
||||||
inpos--;
|
inpos--;
|
||||||
} else {
|
} else {
|
||||||
#ifndef _WIN32
|
|
||||||
adjusted += '*';
|
adjusted += '*';
|
||||||
#else
|
|
||||||
adjusted += '+';
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user