ref: a825be92fb2ed32c5933d43a0c326df5e0862e9e
parent: 72c7a4ad783891a232d125aea2d3c4213e5dcebb
author: Simon Howard <fraggle@gmail.com>
date: Thu Sep 21 14:25:55 EDT 2006
Rename Accept to Select. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 648
--- a/textscreen/txt_window.c
+++ b/textscreen/txt_window.c
@@ -78,7 +78,7 @@
// Default actions
TXT_SetWindowAction(win, TXT_HORIZ_LEFT, TXT_NewWindowEscapeAction(win));
- TXT_SetWindowAction(win, TXT_HORIZ_RIGHT, TXT_NewWindowAcceptAction(win));
+ TXT_SetWindowAction(win, TXT_HORIZ_RIGHT, TXT_NewWindowSelectAction(win));
return win;
}
--- a/textscreen/txt_window_action.c
+++ b/textscreen/txt_window_action.c
@@ -121,7 +121,7 @@
TXT_CloseWindow(window);
}
-static void WindowAcceptCallback(TXT_UNCAST_ARG(widget), TXT_UNCAST_ARG(window))
+static void WindowSelectCallback(TXT_UNCAST_ARG(widget), TXT_UNCAST_ARG(window))
{
TXT_CAST_ARG(txt_window_t, window);
@@ -152,12 +152,12 @@
return action;
}
-txt_window_action_t *TXT_NewWindowAcceptAction(txt_window_t *window)
+txt_window_action_t *TXT_NewWindowSelectAction(txt_window_t *window)
{
txt_window_action_t *action;
- action = TXT_NewWindowAction(KEY_ENTER, "Accept");
- TXT_SignalConnect(action, "pressed", WindowAcceptCallback, window);
+ action = TXT_NewWindowAction(KEY_ENTER, "Select");
+ TXT_SignalConnect(action, "pressed", WindowSelectCallback, window);
return action;
}