winhlp32: Ensure win->page is not NULL when selecting Help on Help

Owen Rudge owen at owenrudge.net
Tue Jul 21 22:48:28 CDT 2009


This patch fixes bug 15367, where winhlp32 would crash if Help on Help 
was selected with no help file loaded. It adds a check in MACRO_HelpOn 
to ensure the reference to the current page is valid.

---
  programs/winhlp32/macro.c |    7 +++++--
  1 files changed, 5 insertions(+), 2 deletions(-)

-- 
Owen Rudge
http://www.owenrudge.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cda5b267877ce24db232979da0af500a0728c24d.diff
Type: text/x-patch
Size: 656 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090722/c75bd303/attachment.bin>


More information about the wine-patches mailing list