diff options
author | Witold Filipczyk <gglater62@gmail.com> | 2015-03-27 09:36:19 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-03-27 09:36:19 +0000 |
commit | befa5e6ed356e019fa82b7ebf9be90913aad3edb (patch) | |
tree | 5157bdd1ad1c4f54eda26894af6843afc7050322 /riscos/global_history.c | |
parent | 9d6ab0475f6cd259bc6135696900bad9295f5bcb (diff) | |
download | netsurf-befa5e6ed356e019fa82b7ebf9be90913aad3edb.tar.gz netsurf-befa5e6ed356e019fa82b7ebf9be90913aad3edb.tar.bz2 |
To avoid namespace conflicts with ncurses add NetSurf key prefix.
Adds a NetSurf key code prefix of NS_ to all key codes.
Diffstat (limited to 'riscos/global_history.c')
-rw-r--r-- | riscos/global_history.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/riscos/global_history.c b/riscos/global_history.c index e81d6b099..6482d1bba 100644 --- a/riscos/global_history.c +++ b/riscos/global_history.c @@ -199,7 +199,7 @@ void ro_gui_global_history_toolbar_click(button_bar_action action) { switch (action) { case TOOLBAR_BUTTON_DELETE: - global_history_keypress(KEY_DELETE_LEFT); + global_history_keypress(NS_KEY_DELETE_LEFT); break; case TOOLBAR_BUTTON_EXPAND: @@ -219,7 +219,7 @@ void ro_gui_global_history_toolbar_click(button_bar_action action) break; case TOOLBAR_BUTTON_LAUNCH: - global_history_keypress(KEY_CR); + global_history_keypress(NS_KEY_CR); break; default: @@ -356,16 +356,16 @@ bool ro_gui_global_history_menu_select(wimp_w w, wimp_i i, wimp_menu *menu, global_history_contract(false); return true; case TREE_SELECTION_LAUNCH: - global_history_keypress(KEY_CR); + global_history_keypress(NS_KEY_CR); return true; case TREE_SELECTION_DELETE: - global_history_keypress(KEY_DELETE_LEFT); + global_history_keypress(NS_KEY_DELETE_LEFT); return true; case TREE_SELECT_ALL: - global_history_keypress(KEY_SELECT_ALL); + global_history_keypress(NS_KEY_SELECT_ALL); return true; case TREE_CLEAR_SELECTION: - global_history_keypress(KEY_CLEAR_SELECTION); + global_history_keypress(NS_KEY_CLEAR_SELECTION); return true; case TOOLBAR_BUTTONS: ro_toolbar_set_display_buttons(global_history_window.toolbar, |