diff options
author | Simon Howard | 2006-05-23 00:05:05 +0000 |
---|---|---|
committer | Simon Howard | 2006-05-23 00:05:05 +0000 |
commit | 7666630775f51fe991005ff8219cb4cc0cb70327 (patch) | |
tree | ae1ee420f34d2a5dab710244faf716cca8b3d829 | |
parent | 1d79686ecf017935fd45c3d7eff3aa844f4d02e6 (diff) | |
download | chocolate-doom-7666630775f51fe991005ff8219cb4cc0cb70327.tar.gz chocolate-doom-7666630775f51fe991005ff8219cb4cc0cb70327.tar.bz2 chocolate-doom-7666630775f51fe991005ff8219cb4cc0cb70327.zip |
Eat keypresses when pressing buttons.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 514
-rw-r--r-- | textscreen/txt_button.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/textscreen/txt_button.c b/textscreen/txt_button.c index 6ff2bfe3..12ec9433 100644 --- a/textscreen/txt_button.c +++ b/textscreen/txt_button.c @@ -54,6 +54,7 @@ static int TXT_ButtonKeyPress(TXT_UNCAST_ARG(button), int key) if (key == KEY_ENTER) { TXT_EmitSignal(button, "pressed"); + return 1; } return 0; |