summaryrefslogtreecommitdiff
path: root/src/messages.h
diff options
context:
space:
mode:
authorsabetts <sabetts>2001-09-05 07:48:49 +0000
committersabetts <sabetts>2001-09-05 07:48:49 +0000
commit3c255ea736cdb1e3d0bf77f1160b6d495cb090db (patch)
tree1d797050a54eaa6c73ab77e77e0e4f39ce33573c /src/messages.h
parentf58ed0a036775c9090df75f3db7afc59058b4cff (diff)
downloadratpoison-3c255ea736cdb1e3d0bf77f1160b6d495cb090db.zip
* src/messages.h (MESSAGE_WELCOME): The help keystroke is not
hardcoded. * src/main.c (show_welcome_message): new function (main): call show_welcome_message to show the welcome message. * src/actions.h (find_keybinding_by_action): new prototype * src/actions.c (key_actions): change to a static variable. (key_actions_last): likewise (key_actions_table_size): likewise (find_keybinding_by_action): new function
Diffstat (limited to 'src/messages.h')
-rw-r--r--src/messages.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/messages.h b/src/messages.h
index 4fea3b2..1d8a94b 100644
--- a/src/messages.h
+++ b/src/messages.h
@@ -42,6 +42,6 @@
#define MESSAGE_PROMPT_SWITCH_WM " Switch to wm: "
#define MESSAGE_PROMPT_XTERM_COMMAND MESSAGE_PROMPT_SHELL_COMMAND TERM_PROG " -e "
-#define MESSAGE_WELCOME " Welcome to ratpoison! Hit C-t ? for help. "
+#define MESSAGE_WELCOME " Welcome to ratpoison! Hit `%s %s' for help. "
#endif /* ! _RATPOISON_MESSAGES_H */