From efbfb3ae3fbb266e03f3921499f115c1d3bf1d7d Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Mon, 17 Jul 2006 21:00:57 +0000 Subject: [PATCH] Fix Ctrl+Right. svn path=/trunk/netsurf/; revision=2775 --- riscos/textarea.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/riscos/textarea.c b/riscos/textarea.c index b3176be93..68e26a861 100644 --- a/riscos/textarea.c +++ b/riscos/textarea.c @@ -1001,7 +1001,7 @@ bool textarea_key_press(wimp_key *key) textarea_set_caret((uintptr_t)ta, 0); break; case wimp_KEY_CONTROL | wimp_KEY_DOWN: - textarea_set_caret((uintptr_t)ta, ta->text_len); + textarea_set_caret((uintptr_t)ta, utf8_length(ta->text)); break; case wimp_KEY_COPY: