winhelp: Fix possible copy/paste error.

This commit is contained in:
Kirill K. Smirnov 2008-04-25 19:42:34 +04:00 committed by Alexandre Julliard
parent bfaeb42b09
commit 471d68c1d1
1 changed files with 1 additions and 1 deletions

View File

@ -2243,7 +2243,7 @@ static BOOL HLPFILE_UncompressLZ77_Phrases(HLPFILE* hlpfile)
}
for (i = 0; i <= num; i++)
hlpfile->phrases_offsets[i] = GET_USHORT(buf, 0x11 + 2 * i) - 2 * num - 2;
hlpfile->phrases_offsets[i] = GET_USHORT(buf, head_size + 2 * i) - 2 * num - 2;
if (hlpfile->version <= 16)
memcpy(hlpfile->phrases_buffer, buf + 15 + 2*num, dec_size);