Public bug reported:

Binary package hint: gtkhtml3.14

gtkhtml version 3.14, possibly others (this bug exist for years)
Operating system: Ubuntu 9.04

Spelling suggestion for Greek words is not working in evolution and
possibly other applications because in the file "gtkhtml/htmlengine.c",
function "html_engine_spell_word_is_valid", the following code returns a
gunichar but the result is truncated to gchar.

gchar prev, curr;
prev = html_cursor_get_prev_char (e->cursor);
curr = html_cursor_get_current_char (e->cursor);

This means that the spelling suggestions may stop working for all words
that contain Non-ASCII Characters.

the local variables  gchar prev, curr;
must be replaced by gunichar prev, curr;

I have tested this on Ubuntu 9.04 (jaunty) and it seems to work.

I attached a patch for gtkhtml3.14-3.26.0

** Affects: gtkhtml3.14 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Broken context-sensitive spell check (Greek, maybe more)
https://bugs.launchpad.net/bugs/446398
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to