Skip to content

Commit

Permalink
Move setlocale calls
Browse files Browse the repository at this point in the history
  • Loading branch information
levinli303 committed Feb 20, 2024
1 parent 82bde29 commit 0f8d8ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions MobileCelestia.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1649,7 +1649,7 @@
MACOSX_DEPLOYMENT_TARGET = 10.15;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
SHARED_BUILD_NUMBER = 454;
SHARED_BUILD_NUMBER = 456;
SHARED_BUILD_VERSION = 1.6.9;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
Expand Down Expand Up @@ -1706,7 +1706,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 13.1;
MACOSX_DEPLOYMENT_TARGET = 10.15;
SDKROOT = iphoneos;
SHARED_BUILD_NUMBER = 454;
SHARED_BUILD_NUMBER = 456;
SHARED_BUILD_VERSION = 1.6.9;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
Expand Down
3 changes: 1 addition & 2 deletions MobileCelestia/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {

setlocale(LC_ALL, "")
setlocale(LC_NUMERIC, "C")
AppCore.setUpLocale()

#if targetEnvironment(macCatalyst)
MacBridge.initialize()
Expand Down

0 comments on commit 0f8d8ec

Please sign in to comment.