mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-23 03:26:56 -04:00
Force white squares (not same as bgcolour) in Ultracode
This commit is contained in:
parent
2153ed416c
commit
20f767c4b6
6 changed files with 22 additions and 19 deletions
|
@ -43,9 +43,6 @@
|
|||
|
||||
void pick_colour(int colour, char colour_code[]) {
|
||||
switch(colour) {
|
||||
case 0: // White
|
||||
strcpy(colour_code, "ffffff");
|
||||
break;
|
||||
case 1: // Cyan
|
||||
strcpy(colour_code, "00ffff");
|
||||
break;
|
||||
|
@ -64,6 +61,9 @@ void pick_colour(int colour, char colour_code[]) {
|
|||
case 6: // Green
|
||||
strcpy(colour_code, "00ff00");
|
||||
break;
|
||||
case 8: // White
|
||||
strcpy(colour_code, "ffffff");
|
||||
break;
|
||||
default: // Black
|
||||
strcpy(colour_code, "000000");
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue