Commit 1e5199af authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

winhelp: Added proper RTF conversion for non breakable space and hyphen.

parent 0a3f4d11
...@@ -1200,9 +1200,16 @@ static BOOL HLPFILE_BrowseParagraph(HLPFILE_PAGE* page, struct RtfData* rd, BYTE ...@@ -1200,9 +1200,16 @@ static BOOL HLPFILE_BrowseParagraph(HLPFILE_PAGE* page, struct RtfData* rd, BYTE
break; break;
case 0x8B: case 0x8B:
if (!HLPFILE_RtfAddControl(rd, "\\~")) goto done;
format += 1;
if (rd) /* FIXME: TEMP */ rd->char_pos++;
break;
case 0x8C: 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; format += 1;
if (rd) /* FIXME: TEMP */ rd->char_pos++;
break; break;
#if 0 #if 0
......
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