mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-21 10:45:12 -04:00
Allow minimum number of columns
This commit is contained in:
parent
7ea03123c8
commit
eecad5e43f
1 changed files with 1 additions and 1 deletions
|
@ -602,7 +602,7 @@ int main(int argc, char **argv) {
|
|||
}
|
||||
|
||||
if (!strcmp(long_options[option_index].name, "cols")) {
|
||||
if ((atoi(optarg) >= 6) && (atoi(optarg) <= 66)) {
|
||||
if ((atoi(optarg) >= 1) && (atoi(optarg) <= 66)) {
|
||||
my_symbol->option_2 = atoi(optarg);
|
||||
} else {
|
||||
fprintf(stderr, "Number of columns out of range\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue