Commit 666bf7b8 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

winhelp: Properly decode the keep bit in paragraph style.

parent 3299f1b8
...@@ -1122,6 +1122,7 @@ static BOOL HLPFILE_BrowseParagraph(HLPFILE_PAGE* page, struct RtfData* rd, BYTE ...@@ -1122,6 +1122,7 @@ static BOOL HLPFILE_BrowseParagraph(HLPFILE_PAGE* page, struct RtfData* rd, BYTE
} }
/* 0x1000 doesn't need space */ /* 0x1000 doesn't need space */
if ((bits & 0x1000) && !HLPFILE_RtfAddControl(rd, "\\keep")) goto done;
if ((bits & 0xE080) != 0) if ((bits & 0xE080) != 0)
WINE_FIXME("Unsupported bits %04x, potential trouble ahead\n", bits); WINE_FIXME("Unsupported bits %04x, potential trouble ahead\n", bits);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment