winhelp: Fix the link kind (and color) of the 0xEA-0xEF family.

This commit is contained in:
Eric Pouech 2008-04-22 22:01:27 +02:00 committed by Alexandre Julliard
parent b2061c26b8
commit 0c18020ca9
1 changed files with 2 additions and 2 deletions

View File

@ -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;