diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-07-26 13:11:59 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-07-26 13:11:59 +0000 |
commit | 89ba488aa027281cda5c32f9bda5b9d98913fc12 (patch) | |
tree | 147410a773489c570a1369f29c17c006c4035b41 /unicode/src/base/UMain.pas | |
parent | 59c10225f97f79ee4e702211b38dcd5493f05944 (diff) | |
download | usdx-89ba488aa027281cda5c32f9bda5b9d98913fc12.tar.gz usdx-89ba488aa027281cda5c32f9bda5b9d98913fc12.tar.xz usdx-89ba488aa027281cda5c32f9bda5b9d98913fc12.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/branches/experimental@1924 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r-- | unicode/src/base/UMain.pas | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/unicode/src/base/UMain.pas b/unicode/src/base/UMain.pas index cc6ffc1d..b8ddf346 100644 --- a/unicode/src/base/UMain.pas +++ b/unicode/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); |