Re: [evolution-patches] Fix for bug#306986 [gtkhtml]
- From: "Veerapuram Varadhan" <vvaradhan novell com>
- To: "S Rohini" <SRohini novell com>
- Cc: evolution-patches gnome org, Tor Lillqvist <TLillqvist novell com>
- Subject: Re: [evolution-patches] Fix for bug#306986 [gtkhtml]
- Date: Tue, 03 Jan 2006 01:05:10 -0700
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]