From ebf39b8fc6d6e1b6c86e659d6bac18beae301efb Mon Sep 17 00:00:00 2001 From: sonora Date: Mon, 30 May 2016 13:30:36 +0200 Subject: [PATCH] change order --- OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java b/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java index 487db42bbc..72b615ee6e 100644 --- a/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java +++ b/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java @@ -549,8 +549,8 @@ public class ConfigureMapMenu { if (i1 != i2) { return i1 < i2 ? -1 : 1; } - i1 = lhs.equals(systemLocale) ? 0 : (lhs.equals(englishLocale)) ? 1 : 2); - i2 = rhs.equals(systemLocale) ? 0 : (rhs.equals(englishLocale)) ? 1 : 2); + i1 = systemLocale.equals(lhs) ? 0 : (englishLocale.equals(lhs)) ? 1 : 2); + i2 = systemLocale.equals(rhs) ? 0 : (englishLocale.equals(rhs)) ? 1 : 2); if (i1 != i2) { return i1 < i2 ? -1 : 1; }