aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorb1indy <b1indy@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-12-22 22:08:10 +0000
committerb1indy <b1indy@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-12-22 22:08:10 +0000
commitd4ecb06978eafef8ea7aff79197d6869916389d9 (patch)
tree3972984b8b230c461e8a35e58a83c57897fcbeb6
parentbb30a9bec3566db0a8a8a65a0afe6cf864cdeb11 (diff)
downloadusdx-d4ecb06978eafef8ea7aff79197d6869916389d9.tar.gz
usdx-d4ecb06978eafef8ea7aff79197d6869916389d9.tar.xz
usdx-d4ecb06978eafef8ea7aff79197d6869916389d9.zip
fixed screenshot problem
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@743 b956fd51-792f-4845-bead-9b4dfca2ff2c
-rw-r--r--Game/Code/Classes/UMain.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/Game/Code/Classes/UMain.pas b/Game/Code/Classes/UMain.pas
index 06c4824a..7c3ad9d4 100644
--- a/Game/Code/Classes/UMain.pas
+++ b/Game/Code/Classes/UMain.pas
@@ -448,7 +448,7 @@ Begin
SDL_KEYDOWN:
begin
//ScreenShot hack. If Print is pressed-> Make screenshot and Save to Screenshots Path
- if (Event.key.keysym.sym = SDLK_SYSREQ) then
+ if (Event.key.keysym.sym = SDLK_SYSREQ) or (Event.key.keysym.sym = SDLK_PRINT) then
Display.ScreenShot
// popup hack... if there is a visible popup then let it handle input instead of underlying screen