aboutsummaryrefslogtreecommitdiffstats
path: root/src/screens
diff options
context:
space:
mode:
authorbrunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-05-02 15:51:44 +0000
committerbrunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-05-02 15:51:44 +0000
commitd250481c0c591dd935a08841debe41b7892ff040 (patch)
treec05cf50c9423954b9c55dbeb9a9ccc7e1b7908ca /src/screens
parent0207b9ae7d3737f2d5efef733eabbde20f57644b (diff)
downloadusdx-d250481c0c591dd935a08841debe41b7892ff040.tar.gz
usdx-d250481c0c591dd935a08841debe41b7892ff040.tar.xz
usdx-d250481c0c591dd935a08841debe41b7892ff040.zip
workaround for LCTRL+R in SongMenu: it should be changed when we have a solution for the CTRL+'A'..'Z' problem
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2331 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/screens')
-rw-r--r--src/screens/UScreenSong.pas7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/screens/UScreenSong.pas b/src/screens/UScreenSong.pas
index a4fde5f6..a9aed0f1 100644
--- a/src/screens/UScreenSong.pas
+++ b/src/screens/UScreenSong.pas
@@ -338,6 +338,13 @@ begin
Exit;
end;
+ // **********************
+ // * workaround for LCTRL+R: it should be changed when we have a solution for the
+ // * CTRL+'A'..'Z' problem
+ if (SDL_ModState = KMOD_LCTRL) and (PressedKey = SDLK_R) then
+ CharCode := UCS4Char('R');
+ // **********************
+
// check normal keys
case UCS4UpperCase(CharCode) of
Ord('Q'):