winhelp: Shift by 6 not 4 in case of old 3.0 file.

This necessary piece of code was lost. Restore it.
This commit is contained in:
Kirill K. Smirnov 2008-04-25 19:41:44 +04:00 committed by Alexandre Julliard
parent 5744fb45cf
commit bfaeb42b09
1 changed files with 4 additions and 1 deletions

View File

@ -1267,7 +1267,10 @@ static BOOL HLPFILE_BrowseParagraph(HLPFILE_PAGE* page, struct RtfData* rd, BYTE
format += 5;
}
else nc++;
format += 4;
if (buf[0x14] == 0x01)
format += 6;
else
format += 4;
bits = GET_USHORT(format, 0); format += 2;
if (bits & 0x0001) fetch_long(&format);
if (bits & 0x0002)