Kirill K. Smirnov : winhelp: Fix possible copy/paste error.
Alexandre Julliard
julliard at winehq.org
Mon Apr 28 08:01:21 CDT 2008
Module: wine
Branch: master
Commit: 471d68c1d1c85c02c91ecad7c59729ff9a44553d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=471d68c1d1c85c02c91ecad7c59729ff9a44553d
Author: Kirill K. Smirnov <lich at math.spbu.ru>
Date: Fri Apr 25 19:42:34 2008 +0400
winhelp: Fix possible copy/paste error.
---
programs/winhelp/hlpfile.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/winhelp/hlpfile.c b/programs/winhelp/hlpfile.c
index 15ca70f..e7ae75e 100644
--- a/programs/winhelp/hlpfile.c
+++ b/programs/winhelp/hlpfile.c
@@ -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);
More information about the wine-cvs
mailing list