Re: [evolution-patches] Fix for bug#306986 [gtkhtml]



On Thu, 2005-12-22 at 09:00 +0000, Rohini  wrote:
> @@ -5807,6 +5806,14 @@ html_engine_get_spell_word (HTMLEngine *
>                 text = g_string_append (text, out);
>                 html_cursor_forward (cursor, e);
>                 cited2 = FALSE;
>         }
> +
> +       /* remove ' at both ends of word*/
> +       if (text->str[0] == '\'') {
> +               text=g_string_erase(text,0,1);
> +       }
> +       if(text->str[text->len -1] == '\'') {
> +               text=g_string_erase(text,text->len -1,1);
> +       }
>   
Looks good to commit except 'coding style'.  Please follow the coding
style used in the rest of the code.

V. Varadhan





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]