diff --git a/Source/Locale/LocaleStrings.cpp b/Source/Locale/LocaleStrings.cpp index 77d967e8..c79145fe 100644 --- a/Source/Locale/LocaleStrings.cpp +++ b/Source/Locale/LocaleStrings.cpp @@ -71,12 +71,11 @@ namespace Aurora::Locale AuString ret = in; switch (ret.size()) { - case 1: ret.insert(0, "000000", 6); break; - case 2: ret.insert(0, "000000", 5); break; - case 3: ret.insert(0, "000000", 4); break; - case 4: ret.insert(0, "000000", 3); break; - case 5: ret.insert(0, "000000", 2); break; - case 6: ret.insert(0, "000000", 1); break; + case 1: ret.insert(0, "000000", 5); break; + case 2: ret.insert(0, "000000", 4); break; + case 3: ret.insert(0, "000000", 3); break; + case 4: ret.insert(0, "000000", 2); break; + case 5: ret.insert(0, "000000", 1); break; } while (ret.size() > 1 && ret[ret.size() - 1] == '0') ret.pop_back();