Module: wine Branch: master Commit: 0c18020ca980a14027cbc72faf8f5af99877f5d3 URL: http://source.winehq.org/git/wine.git/?a=commit;h=0c18020ca980a14027cbc72faf...
Author: Eric Pouech eric.pouech@orange.fr Date: Tue Apr 22 22:01:27 2008 +0200
winhelp: Fix the link kind (and color) of the 0xEA-0xEF family.
---
programs/winhelp/hlpfile.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/programs/winhelp/hlpfile.c b/programs/winhelp/hlpfile.c index c20bead..498136d 100644 --- a/programs/winhelp/hlpfile.c +++ b/programs/winhelp/hlpfile.c @@ -1193,9 +1193,9 @@ static BOOL HLPFILE_BrowseParagraph(HLPFILE_PAGE* page, BYTE *buf, BYTE* end) break; } HLPFILE_FreeLink(attributes.link); - attributes.link = HLPFILE_AllocLink((*format & 4) ? hlp_link_link : hlp_link_popup, + attributes.link = HLPFILE_AllocLink((*format & 1) ? hlp_link_link : hlp_link_popup, ptr, GET_UINT(format, 4), - !(*format & 1), wnd); + !(*format & 4), wnd); } format += 3 + GET_USHORT(format, 1); break;