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
- Subject: Re: [evolution-patches] Fix for bug#306986 [gtkhtml]
- Date: Wed, 21 Dec 2005 02:30:26 -0700
On Wed, 2005-12-21 at 05:22 +0000, Rohini wrote:
> + /* remove ' at both ends of word*/
> + if (text->str[0] == '\'' && text->str[text->len - 1] == '\'')
> {
> + text->str[0]=text->str[text->len-1]=' ';
> + text->str=g_strchomp (text->str);
> + text->str=g_strchug (text->str);
> + text->len-=2;
> + }
>
Looks good, however, how about these words... 'foobar bardoo', both of
them don't have \' in both ends.
(Probably, the above "if" condition can be split in to two.)
V. Varadhan
[
Date Prev][
Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]