--- src/item-edit.c.orig Thu Dec 27 06:10:52 2001 +++ src/item-edit.c Sun Aug 18 02:52:37 2002 @@ -240,6 +240,11 @@ return; top_pos += item_edit->font->ascent; + /* Handle multibyte */ + if( cursor_pos != -1 ) + cursor_pos = strlen(gtk_editable_get_chars(GTK_EDITABLE(item_edit->entry), + 0, cursor_pos)); + /* Draw the background (recall that gdk_draw_rectangle excludes far coords) */ gdk_draw_rectangle ( drawable, canvas->style->white_gc, TRUE,