mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
winhlp32: Fix off-by-one error.
This commit is contained in:
parent
7377856352
commit
52081393bc
1 changed files with 1 additions and 1 deletions
|
@ -1639,7 +1639,7 @@ BOOL HLPFILE_BrowsePage(HLPFILE_PAGE* page, struct RtfData* rd,
|
|||
case 0x20:
|
||||
case 0x23:
|
||||
if (!HLPFILE_BrowseParagraph(page, rd, buf, end, &parlen)) return FALSE;
|
||||
if (relative >= index * 0x8000 + offs)
|
||||
if (relative > index * 0x8000 + offs)
|
||||
rd->char_pos_rel = rd->char_pos;
|
||||
offs += parlen;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue