aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/text')
-rw-r--r--widgets/text/e-text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c
index d838518d5f..db67f83067 100644
--- a/widgets/text/e-text.c
+++ b/widgets/text/e-text.c
@@ -3203,7 +3203,7 @@ _get_position(EText *text, ETextEventProcessorCommand *command)
break;
case E_TEP_END_OF_BUFFER:
- new_pos = g_utf8_strlen (text->text, -1);
+ new_pos = strlen (text->text);
break;
case E_TEP_START_OF_LINE: