From e7aa05e7e4038d76ee15d8138e9a606a8f4a91d1 Mon Sep 17 00:00:00 2001 From: Eric Fischer Date: Wed, 12 Nov 2014 17:06:58 -0800 Subject: [PATCH] Don't immediately fail when a very low tile resolution is specified manually --- tile.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tile.cc b/tile.cc index 96b1fea6..27f69f28 100644 --- a/tile.cc +++ b/tile.cc @@ -346,7 +346,7 @@ long long write_tile(struct index *start, struct index *end, char *metabase, uns int line_detail; static bool evaluated = false; - for (line_detail = detail; line_detail >= MIN_DETAIL; line_detail--) { + for (line_detail = detail; line_detail >= MIN_DETAIL || line_detail == detail; line_detail--) { GOOGLE_PROTOBUF_VERIFY_VERSION; struct pool keys, values;