Only error if minzoom is truly greater, not just equal

This commit is contained in:
Tom MacWright 2015-05-29 10:33:44 -04:00
parent a0693446d5
commit ce6a1aac88

View File

@ -1051,7 +1051,7 @@ int main(int argc, char **argv) {
}
}
if (minzoom >= maxzoom) {
if (minzoom > maxzoom) {
fprintf(stderr, "minimum zoom -Z cannot be greater than maxzoom -z\n");
exit(EXIT_FAILURE);
}