diff options
author | whiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-03-28 13:29:30 +0000 |
---|---|---|
committer | whiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-03-28 13:29:30 +0000 |
commit | 872b21ad9e7c469c702c470543dcc4d0fbf749cf (patch) | |
tree | f1e59aacc99309ad650e853f9a2298b0cabd5567 /Game/Code/Screens/UScreenSong.pas | |
parent | 4f62f61e2137fcbde1a4b027bfa27baa61235a34 (diff) | |
download | usdx-872b21ad9e7c469c702c470543dcc4d0fbf749cf.tar.gz usdx-872b21ad9e7c469c702c470543dcc4d0fbf749cf.tar.xz usdx-872b21ad9e7c469c702c470543dcc4d0fbf749cf.zip |
Some WideChar casts to let it compile in Delphi7 again.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@979 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r-- | Game/Code/Screens/UScreenSong.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Game/Code/Screens/UScreenSong.pas b/Game/Code/Screens/UScreenSong.pas index 7bc08148..aab4dd2a 100644 --- a/Game/Code/Screens/UScreenSong.pas +++ b/Game/Code/Screens/UScreenSong.pas @@ -256,7 +256,7 @@ begin //Jump to Artist/Titel
if ((SDL_ModState and KMOD_LALT <> 0) AND (Mode = smNormal)) then
begin
- if (WideCharUpperCase(CharCode)[1] in ['A'..'Z']) then
+ if (WideCharUpperCase(CharCode)[1] in ([WideChar('A')..WideChar('Z')]) ) then
begin
Letter := WideCharUpperCase(CharCode)[1];
I2 := Length(CatSongs.Song);
|