From ce6a1aac8882f55f1199ff9d84f2709dd4f0fa1e Mon Sep 17 00:00:00 2001 From: Tom MacWright Date: Fri, 29 May 2015 10:33:44 -0400 Subject: [PATCH] Only error if minzoom is truly greater, not just equal --- geojson.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geojson.c b/geojson.c index 84d6dd0..93048c9 100644 --- a/geojson.c +++ b/geojson.c @@ -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); }