mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-27 21:44:13 -04:00
DMRE: Datamatrix with extended rectangular formats
This commit is contained in:
parent
b7b7564457
commit
1c0066baa9
3 changed files with 158 additions and 36 deletions
|
@ -481,7 +481,7 @@ int main(int argc, char **argv)
|
|||
}
|
||||
}
|
||||
if(!strcmp(long_options[option_index].name, "vers")) {
|
||||
if((atoi(optarg) >= 1) && (atoi(optarg) <= 40)) {
|
||||
if((atoi(optarg) >= 1) && (atoi(optarg) <= 47)) {
|
||||
my_symbol->option_2 = atoi(optarg);
|
||||
} else {
|
||||
fprintf(stderr, "Invalid QR Code version\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue