diff -r a5938aa3f6c9 -r 2a5e63b97a2b console/libgnt/gnttextview.c --- a/console/libgnt/gnttextview.c Mon Jan 15 01:10:55 2007 +0000 +++ b/console/libgnt/gnttextview.c Mon Jan 15 06:07:54 2007 +0000 @@ -509,7 +509,7 @@ { GList *alllines = g_list_first(view->list); GList *list, *next, *iter, *inext; - const int text_length = text ? g_utf8_strlen(text, -1) : 0; + const int text_length = text ? strlen(text) : 0; int count = 0; for (list = view->tags; list; list = next) { GntTextTag *tag = list->data;