Skip to content
This repository has been archived by the owner on Apr 16, 2023. It is now read-only.

Commit

Permalink
Fix nextLanguage
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislo27 committed Feb 5, 2017
1 parent fc7b8e7 commit 6bb8cc5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions core/src/ionium/util/i18n/Localization.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,16 @@ public static String get(String key, Object... params) {
}

public void nextLanguage(int advance) {
if (advance == 0) return;
if (advance == 0) {
return;
}

int currentIndex = 0;

for (int i = 0; i < bundles.size; i++) {
if (bundles.get(i) == selectedBundle) {
currentIndex = i;
return;
break;
}
}

Expand Down

0 comments on commit 6bb8cc5

Please sign in to comment.