[PATCH 5/7] [WinHelp]: properly decode the keep bit in paragraph style

Eric Pouech eric.pouech at orange.fr
Thu Apr 24 15:06:22 CDT 2008




A+
---

 programs/winhelp/hlpfile.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/programs/winhelp/hlpfile.c b/programs/winhelp/hlpfile.c
index 1f5b735..2230cf6 100644
--- a/programs/winhelp/hlpfile.c
+++ b/programs/winhelp/hlpfile.c
@@ -1122,6 +1122,7 @@ static BOOL HLPFILE_BrowseParagraph(HLPFILE_PAGE* page, struct RtfData* rd, BYTE
         }
 
         /* 0x1000 doesn't need space */
+        if ((bits & 0x1000) && !HLPFILE_RtfAddControl(rd, "\\keep")) goto done;
         if ((bits & 0xE080) != 0) 
             WINE_FIXME("Unsupported bits %04x, potential trouble ahead\n", bits);
 





More information about the wine-patches mailing list