mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 12:20:07 +00:00
hhctrl.ocx: Fix an off by one mistake in searching for the node endpoint.
This commit is contained in:
parent
2d80b3ed54
commit
74c5e38b7c
@ -122,7 +122,7 @@ static BOOL find_node_end(stream_t *stream, strbuf_t *buf)
|
||||
if(buf->len == 0)
|
||||
break;
|
||||
p = &buf->buf[b];
|
||||
while((p = memchr(p+1, '"', buf->len-(p-buf->buf))) != NULL)
|
||||
while((p = memchr(p+1, '"', buf->len-(p+1-buf->buf))) != NULL)
|
||||
tag_count++;
|
||||
b = buf->len;
|
||||
if(tag_count % 2 != 0)
|
||||
|
Loading…
Reference in New Issue
Block a user