summaryrefslogtreecommitdiff
path: root/textscreen/txt_window.c
diff options
context:
space:
mode:
authorSimon Howard2006-06-02 20:50:51 +0000
committerSimon Howard2006-06-02 20:50:51 +0000
commit48d2fd26ca4c1de5112103788841751619ebfe9c (patch)
tree874a0b5bfe6052ad7c389726d3b93b19353af32e /textscreen/txt_window.c
parentef92ce016e328c1270597f2f1627c72bc3490d64 (diff)
downloadchocolate-doom-48d2fd26ca4c1de5112103788841751619ebfe9c.tar.gz
chocolate-doom-48d2fd26ca4c1de5112103788841751619ebfe9c.tar.bz2
chocolate-doom-48d2fd26ca4c1de5112103788841751619ebfe9c.zip
Make clicking on "accept" action buttons send enter keypresses to the window.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 554
Diffstat (limited to 'textscreen/txt_window.c')
-rw-r--r--textscreen/txt_window.c2
1 files changed, 1 insertions, 1 deletions
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;
}