diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-02-11 10:34:06 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-02-11 10:34:06 +0000 |
commit | 7af0614202bf89e3fae0fa06b65b74aa9bc580fc (patch) | |
tree | 7a799b8f66d231021aecf0820fcd77930a56e876 /desktop | |
parent | 99fc8d3f0dd0f9889ced412d3b855878f525907a (diff) | |
download | netsurf-7af0614202bf89e3fae0fa06b65b74aa9bc580fc.tar.gz netsurf-7af0614202bf89e3fae0fa06b65b74aa9bc580fc.tar.bz2 |
Make delete line key enum value name less missleading. (Doesn't cut to clipboard.)
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/textarea.c | 3 | ||||
-rw-r--r-- | desktop/textinput.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/desktop/textarea.c b/desktop/textarea.c index 9dd3ace2d..9c3243293 100644 --- a/desktop/textarea.c +++ b/desktop/textarea.c @@ -1757,8 +1757,7 @@ bool textarea_keypress(struct textarea *ta, uint32_t key) } redraw = true; break; - case KEY_CUT_LINE: - /* Not actually CUT to clipboard, just delete */ + case KEY_DELETE_LINE: if (readonly) break; if (ta->sel_start != -1) { diff --git a/desktop/textinput.h b/desktop/textinput.h index 745addeb6..e0581b23a 100644 --- a/desktop/textinput.h +++ b/desktop/textinput.h @@ -38,7 +38,7 @@ enum input_key { KEY_SHIFT_TAB = 11, KEY_CR = 13, - KEY_CUT_LINE = 21, + KEY_DELETE_LINE = 21, KEY_PASTE = 22, KEY_CUT_SELECTION = 24, KEY_CLEAR_SELECTION = 26, |