From 2024af2047661cd10ad8364cd01a07aa1c6148f2 Mon Sep 17 00:00:00 2001 From: Erica Fischer Date: Wed, 19 Oct 2022 14:40:50 -0700 Subject: [PATCH] I had the comparison backwards --- main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index 070a86ec..05cf5d73 100644 --- a/main.cpp +++ b/main.cpp @@ -2900,10 +2900,10 @@ int main(int argc, char **argv) { order_by.push_back(order_field(ORDER_BY_SIZE, true)); order_by_size = true; } else if (strcmp(opt, "order-prominent-first") == 0) { - order_by.push_back(order_field(ORDER_BY_PROMINENCE, false)); + order_by.push_back(order_field(ORDER_BY_PROMINENCE, true)); order_by_prominence = true; } else if (strcmp(opt, "order-prominent-last") == 0) { - order_by.push_back(order_field(ORDER_BY_PROMINENCE, true)); + order_by.push_back(order_field(ORDER_BY_PROMINENCE, false)); order_by_prominence = true; } else if (strcmp(opt, "simplification-at-maximum-zoom") == 0) { maxzoom_simplification = atof_require(optarg, "Mazoom simplification");