]> granicus.if.org Git - handbrake/commitdiff
WinGui: Fix a culture issues where nubmers were the status text is displayed with...
authorsr55 <sr55.hb@outlook.com>
Sun, 8 Sep 2019 13:11:58 +0000 (14:11 +0100)
committersr55 <sr55.hb@outlook.com>
Sun, 8 Sep 2019 13:11:58 +0000 (14:11 +0100)
win/CS/HandBrakeWPF/App.xaml.cs

index d9f76ef5452117b8d9d9b8abd32f9a01b517064e..afec33498310bd8b505a5dffd4f1740d68f572a0 100644 (file)
@@ -100,7 +100,7 @@ namespace HandBrakeWPF
             // Portable Mode\r
             if (Portable.IsPortable())\r
             {\r
-                if(!Portable.Initialise())\r
+                if (!Portable.Initialise())\r
                 {\r
                     Application.Current.Shutdown();\r
                     return;\r
@@ -116,7 +116,6 @@ namespace HandBrakeWPF
                 if (language != null)\r
                 {\r
                     CultureInfo ci = new CultureInfo(language.Culture);\r
-                    Thread.CurrentThread.CurrentCulture = ci;\r
                     Thread.CurrentThread.CurrentUICulture = ci;\r
                 }\r
             }\r
@@ -129,7 +128,6 @@ namespace HandBrakeWPF
                 Application.Current.Resources.MergedDictionaries.Add(darkTheme);\r
             }\r
 \r
-\r
             // NO-Hardware Mode\r
             bool noHardware = e.Args.Any(f => f.Equals("--no-hardware"))  || (Portable.IsPortable() && !Portable.IsHardwareEnabled());\r
 \r