mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2025-02-16 13:58:26 +00:00
Revert culture info for now to prevent updater issues.
This commit is contained in:
parent
ecc43c8430
commit
0aaf6b97a3
2 changed files with 6 additions and 1 deletions
|
@ -4,6 +4,8 @@ using System.Collections.Generic;
|
|||
using System.Text.RegularExpressions;
|
||||
using OpenTK;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Globalization;
|
||||
|
||||
namespace Toolbox.Library.Animations
|
||||
{
|
||||
|
@ -27,6 +29,8 @@ namespace Toolbox.Library.Animations
|
|||
|
||||
public void Read(string fname)
|
||||
{
|
||||
Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US");
|
||||
|
||||
StreamReader reader = File.OpenText(fname);
|
||||
string line;
|
||||
|
||||
|
@ -90,6 +94,8 @@ namespace Toolbox.Library.Animations
|
|||
}
|
||||
}
|
||||
Bones.reset();
|
||||
|
||||
Thread.CurrentThread.CurrentCulture = CultureInfo.DefaultThreadCurrentCulture;
|
||||
}
|
||||
|
||||
public void Save(string FileName)
|
||||
|
|
|
@ -25,7 +25,6 @@ namespace Toolbox
|
|||
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US");
|
||||
Toolbox.Library.Runtime.ExecutableDir = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location);
|
||||
|
||||
string[] args = Environment.GetCommandLineArgs();
|
||||
|
|
Loading…
Add table
Reference in a new issue