diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-07-26 13:08:47 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-07-26 13:08:47 +0000 |
commit | c2139f0a4ab0e86f9632881f4954b7e3b41e10d5 (patch) | |
tree | db96e58aef7b4b36c39c90b54144c6308428d813 /src/base/UMain.pas | |
parent | 384aa7c5adbaec638277e9caf0840dad77540b58 (diff) | |
download | usdx-c2139f0a4ab0e86f9632881f4954b7e3b41e10d5.tar.gz usdx-c2139f0a4ab0e86f9632881f4954b7e3b41e10d5.tar.xz usdx-c2139f0a4ab0e86f9632881f4954b7e3b41e10d5.zip |
Language option fix:
- Never assume an order of the files returned by FindFirst/Next(). This will not work on linux as the order is random.
- That is also the reason why the default theme on linux is random (usdx uses the first theme returned by FindFirst(). This is not fixed yet.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1923 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/base/UMain.pas')
-rw-r--r-- | src/base/UMain.pas | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/base/UMain.pas b/src/base/UMain.pas index 187318a6..33eca888 100644 --- a/src/base/UMain.pas +++ b/src/base/UMain.pas @@ -174,12 +174,6 @@ begin Log.LogStatus('Write Ini', 'Initialization'); Ini.Save; - // Load Languagefile - if (Params.Language <> -1) then - Language.ChangeLanguage(ILanguage[Params.Language]) - else - Language.ChangeLanguage(ILanguage[Ini.Language]); - Log.BenchmarkEnd(1); Log.LogBenchmark('Loading Ini', 1); |