mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
DMRE: Datamatrix with extended rectangular formats
This commit is contained in:
@ -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");
|
||||
|
Reference in New Issue
Block a user