aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Screens/UScreenOptionsSound.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/UScreenOptionsSound.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 'Game/Code/Screens/UScreenOptionsSound.pas')
-rw-r--r--Game/Code/Screens/UScreenOptionsSound.pas3
1 files changed, 2 insertions, 1 deletions
diff --git a/Game/Code/Screens/UScreenOptionsSound.pas b/Game/Code/Screens/UScreenOptionsSound.pas
index a99ae86d..ad6db766 100644
--- a/Game/Code/Screens/UScreenOptionsSound.pas
+++ b/Game/Code/Screens/UScreenOptionsSound.pas
@@ -80,7 +80,8 @@ begin
//AddSelect(Theme.OptionsSound.SelectTwoPlayerMode, Ini.TwoPlayerMode, ITwoPlayerMode);
AddButton(Theme.OptionsSound.ButtonExit);
- AddButtonText(14, 20, 'Exit');
+ if (Length(Button[0].Text)=0) then
+ AddButtonText(14, 20, Theme.Options.Description[6]);
Interaction := 0;
end;