Re: hhctrl.ocx: Parse HTML entities in the table of contents.

2008-04-16 Thread Hin-Tak Leung
--- On Wed, 16/4/08, Tomasz Jezierski - Tefnet <[EMAIL PROTECTED]> wrote: > If you won't find entity in table and change ampersand > to another char, > you won't get infinite loop, but I'm not sure what > will happen if you > have & in help, that might trigger loop too. Do you > know any free >

Re: hhctrl.ocx: Parse HTML entities in the table of contents.

2008-04-16 Thread Tomasz Jezierski - Tefnet
Dnia 16-04-2008, śro o godzinie 00:49 +, Hin-Tak Leung pisze: > > > --- On Tue, 15/4/08, Tomasz Jezierski - Tefnet <[EMAIL PROTECTED]> wrote: > > > While reading this patch I found another bug: > > > > +if (i == > > sizeof(char_refs)/sizeof(char_refs[0])) > > +{ > >

Re: hhctrl.ocx: Parse HTML entities in the table of contents.

2008-04-15 Thread Hin-Tak Leung
--- On Tue, 15/4/08, Tomasz Jezierski - Tefnet <[EMAIL PROTECTED]> wrote: > While reading this patch I found another bug: > > +if (i == > sizeof(char_refs)/sizeof(char_refs[0])) > +{ > +FIXME("character entity %s not > found\n", > debugstr_wn(start + 1,

Re: hhctrl.ocx: Parse HTML entities in the table of contents.

2008-04-15 Thread Tomasz Jezierski - Tefnet
Dnia 30-05-2007, śro o godzinie 14:41 +0200, Alexandre Julliard pisze: > Robert Shearman <[EMAIL PROTECTED]> writes: > Hi, I found this patch from May 2007 which never got into wine. http://www.winehq.org/pipermail/wine-patches/2007-May/039722.html Could you explain me what is still wrong with i

Re: hhctrl.ocx: Parse HTML entities in the table of contents.

2008-04-15 Thread Tomasz Jezierski - Tefnet
Dnia 30-05-2007, śro o godzinie 14:41 +0200, Alexandre Julliard pisze: > Robert Shearman <[EMAIL PROTECTED]> writes: > Hi, I found this patch from May which never got into wine. http://www.winehq.org/pipermail/wine-patches/2007-May/039722.html Could you explain me what is still wrong with it? I

Re: hhctrl.ocx: Parse HTML entities in the table of contents.

2007-05-30 Thread Alexandre Julliard
Robert Shearman <[EMAIL PROTECTED]> writes: > +p++; > +if ((*p == 'X') || (*p == 'x')) > +{ > +/* hexadecimal entity */ > +while ((*p >= '0' && *p <= '9') || (*p >= 'a' && *p <= 'f') > || > + (*p >= 'A' && *

Re: hhctrl.ocx: Parse HTML entities in the table of contents.

2007-05-18 Thread Robert Shearman
Alexandre Julliard wrote: Robert Shearman <[EMAIL PROTECTED]> writes: +/* hexadecimal entity */ +while ((*p >= '0' && *p <= '9') || (*p >= 'a' && *p <= 'f') || + (*p >= 'A' && *p <= 'F') || (*p == ';')) +p++; Yo

Re: hhctrl.ocx: Parse HTML entities in the table of contents.

2007-05-01 Thread Alexandre Julliard
Robert Shearman <[EMAIL PROTECTED]> writes: > +/* hexadecimal entity */ > +while ((*p >= '0' && *p <= '9') || (*p >= 'a' && *p <= 'f') > || > + (*p >= 'A' && *p <= 'F') || (*p == ';')) > +p++; You should exit the loop at t