aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Screens/UScreenOptionsThemes.pas
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-04-05 12:50:05 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-04-05 12:50:05 +0000
commit42717e4611f758f137d86fd99e69bf9791d3a727 (patch)
tree03935f924fde0c0663d64da25656a55ab9773a94 /Game/Code/Screens/UScreenOptionsThemes.pas
parenteb7df4c30c7e119ad56eb3ba8506ff3e3afce4a4 (diff)
downloadusdx-42717e4611f758f137d86fd99e69bf9791d3a727.tar.gz
usdx-42717e4611f758f137d86fd99e69bf9791d3a727.tar.xz
usdx-42717e4611f758f137d86fd99e69bf9791d3a727.zip
Fixed: Not loading Button Texts from Ini
Fixed: Exit Text in Option Screens not translated git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@57 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--Game/Code/Screens/UScreenOptionsThemes.pas5
1 files changed, 2 insertions, 3 deletions
diff --git a/Game/Code/Screens/UScreenOptionsThemes.pas b/Game/Code/Screens/UScreenOptionsThemes.pas
index b7d18fa5..eb5ed33e 100644
--- a/Game/Code/Screens/UScreenOptionsThemes.pas
+++ b/Game/Code/Screens/UScreenOptionsThemes.pas
@@ -99,15 +99,14 @@ begin
AddText(Theme.OptionsThemes.Text[I]);
AddSelectSlide(Theme.OptionsThemes.SelectTheme, Ini.Theme, ITheme);
- //SelectsS[High(SelectsS)].SetSelectOpt(Ini.Theme);
SkinSelect := AddSelectSlide(Theme.OptionsThemes.SelectSkin, Ini.SkinNo, ISkin);
- //AddSelectSlideOption('SingStar');
AddSelectSlide(Theme.OptionsThemes.SelectColor, Ini.Color, IColor);
AddButton(Theme.OptionsThemes.ButtonExit);
- AddButtonText(14, 20, 'Exit');
+ if (Length(Button[0].Text)=0) then
+ AddButtonText(14, 20, Theme.Options.Description[6]);
end;
procedure TScreenOptionsThemes.onShow;