[PATCH 31/45] [WinHelp]: properly decode the keep bit in paragraph style

Eric Pouech eric.pouech at orange.fr
Sun Mar 23 04:20:27 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 034c065..2e592e5 100644
--- a/programs/winhelp/hlpfile.c
+++ b/programs/winhelp/hlpfile.c
@@ -1077,6 +1077,7 @@ BOOL HLPFILE_BrowseParagraph(HLPFILE *hlpfile, struct RtfData* rd, BYTE *buf, BY
         }
 
         /* 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