On Fri, Jul 22, 2011 at 06:26, Eric Pouech eric.pouech@orange.fr wrote:
your proposal isn't fixing the problem, it just hides it
I was waiting for someone to reply saying that because I see it happening dozens of times in the list, but I guess it's better to start sending a patch them never sending any.
At first I thought I would be hidding the problem too, but after checking windows does the same (doesn't open anything because there's no file) I thought it was fixed.
what seems (to be confirmed) to happen is that winhelp should better support secondary windows as 'glossary' (or have fallback for those) as it does for primary window (called 'main') (or support defining window name when opening a file)
From what I understood from the source what happens is that
WINHELP_GetWindowInfo receives the parameter "glossary" as name and hlpfile = NULL because the file was not found. So if the file was not found there's nowhere to look for, and in this case there can't be any fallback because it's a different file.
can you send me (in private) the relevant .hlp files (main one and glossary.hlp) I'll have a deeper look
-- Eric Pouech
-- Bruno