Eric Pouech : winhelp: Properly decode the keep bit in paragraph style.

Alexandre Julliard julliard at winehq.org
Fri Apr 25 08:10:50 CDT 2008


Module: wine
Branch: master
Commit: 666bf7b8925e52186477ab5ac2db4427bf60ca1a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=666bf7b8925e52186477ab5ac2db4427bf60ca1a

Author: Eric Pouech <eric.pouech at orange.fr>
Date:   Thu Apr 24 22:06:22 2008 +0200

winhelp: Properly decode the keep bit in paragraph style.

---

 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-cvs mailing list