ref: 7666630775f51fe991005ff8219cb4cc0cb70327
parent: 1d79686ecf017935fd45c3d7eff3aa844f4d02e6
author: Simon Howard <fraggle@gmail.com>
date: Mon May 22 20:05:05 EDT 2006
Eat keypresses when pressing buttons. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 514
--- a/textscreen/txt_button.c
+++ b/textscreen/txt_button.c
@@ -54,6 +54,7 @@
if (key == KEY_ENTER)
{
TXT_EmitSignal(button, "pressed");
+ return 1;
}
return 0;