From 48d2fd26ca4c1de5112103788841751619ebfe9c Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Fri, 2 Jun 2006 20:50:51 +0000 Subject: Make clicking on "accept" action buttons send enter keypresses to the window. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 554 --- textscreen/txt_window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'textscreen/txt_window.c') diff --git a/textscreen/txt_window.c b/textscreen/txt_window.c index 7481ccfa..5da2e008 100644 --- a/textscreen/txt_window.c +++ b/textscreen/txt_window.c @@ -73,7 +73,7 @@ txt_window_t *TXT_NewWindow(char *title) // Default actions TXT_SetWindowAction(win, TXT_HORIZ_LEFT, TXT_NewWindowEscapeAction(win)); - TXT_SetWindowAction(win, TXT_HORIZ_RIGHT, TXT_NewWindowAcceptAction()); + TXT_SetWindowAction(win, TXT_HORIZ_RIGHT, TXT_NewWindowAcceptAction(win)); return win; } -- cgit v1.2.3