This patch stops an exception in winhelp when it cant find the help file specified. Changelog: Prevent Winhelp crashing when it cant find the helpfile it is passed. Index: programs/winhelp/winhelp.c =================================================================== RCS file: /home/wine/wine/programs/winhelp/winhelp.c,v retrieving revision 1.22 diff -u -r1.22 winhelp.c --- programs/winhelp/winhelp.c 20 Nov 2002 19:46:18 -0000 1.22 +++ programs/winhelp/winhelp.c 25 Nov 2002 21:59:05 -0000 @@ -197,6 +197,8 @@ /* Create primary window */ WINHELP_RegisterWinClasses(); hlpfile = WINHELP_LookupHelpFile(cmdline); + if (!hlpfile) + return 0; WINHELP_CreateHelpWindowByHash(hlpfile, lHash, WINHELP_GetWindowInfo(hlpfile, "main"), show); -- Matthew Davison <m.davison@virgin.net>