http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a3f4d1
)
winhelp: Added proper RTF conversion for non breakable space and hyphen.
author
Eric Pouech
<eric.pouech@orange.fr>
Wed, 23 Apr 2008 19:38:09 +0000
(21:38 +0200)
committer
Alexandre Julliard
<julliard@winehq.org>
Thu, 24 Apr 2008 10:19:54 +0000
(12:19 +0200)
programs/winhelp/hlpfile.c
patch
|
blob
|
blame
|
history
diff --git
a/programs/winhelp/hlpfile.c
b/programs/winhelp/hlpfile.c
index 92bcb1b26d07c35a89c543d7612044afedd0aa01..e327b541315c6dda77969c5eb7fb17b7f72a5d82 100644
(file)
--- a/
programs/winhelp/hlpfile.c
+++ b/
programs/winhelp/hlpfile.c
@@
-1200,9
+1200,16
@@
static BOOL HLPFILE_BrowseParagraph(HLPFILE_PAGE* page, struct RtfData* rd, BYTE
break;
case 0x8B:
+ if (!HLPFILE_RtfAddControl(rd, "\\~")) goto done;
+ format += 1;
+ if (rd) /* FIXME: TEMP */ rd->char_pos++;
+ break;
+
case 0x8C:
- WINE_FIXME("NIY non-break space/hyphen\n");
+ if (!HLPFILE_RtfAddControl(rd, "\\_")) goto done;
+ /* FIXME: it could be that hypen is also in input stream !! */
format += 1;
+ if (rd) /* FIXME: TEMP */ rd->char_pos++;
break;
#if 0