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