Commit 0266111a authored by Mathieu Giraud's avatar Mathieu Giraud

vidjil.cpp: fixes '-y all' behavior when used with '-z'

Fixes #2239.
parent 5ebef79c
......@@ -569,7 +569,7 @@ int main (int argc, char **argv)
case 'z':
max_clones = atoi_NO_LIMIT(optarg);
if (max_representatives < max_clones)
if ((max_representatives < max_clones) && (max_representatives != NO_LIMIT_VALUE))
max_representatives = max_clones ;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment