summaryrefslogtreecommitdiff
path: root/render/box_textarea.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/box_textarea.c')
-rw-r--r--render/box_textarea.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/render/box_textarea.c b/render/box_textarea.c
index b129f1257..aaee47170 100644
--- a/render/box_textarea.c
+++ b/render/box_textarea.c
@@ -43,14 +43,14 @@ bool box_textarea_keypress(html_content *html, struct box *box, uint32_t key)
if (gadget->type != GADGET_TEXTAREA) {
switch (key) {
- case KEY_NL:
- case KEY_CR:
+ case NS_KEY_NL:
+ case NS_KEY_CR:
if (form)
form_submit(content_get_url(c), html->bw,
form, 0);
return true;
- case KEY_TAB:
+ case NS_KEY_TAB:
{
struct form_control *next_input;
/* Find next text entry field that is actually
@@ -71,7 +71,7 @@ bool box_textarea_keypress(html_content *html, struct box *box, uint32_t key)
}
return true;
- case KEY_SHIFT_TAB:
+ case NS_KEY_SHIFT_TAB:
{
struct form_control *prev_input;
/* Find previous text entry field that is actually