From 6f9c840ca0647b3c8a9ad5abcd2f66c430cb0ab2 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sun, 29 Oct 2000 01:17:24 +0000 Subject: [PATCH] Report errors on WinHelp() failures. --- windows/winhelp.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/windows/winhelp.c b/windows/winhelp.c index f66422178dc..dfa5a273ebb 100644 --- a/windows/winhelp.c +++ b/windows/winhelp.c @@ -77,8 +77,14 @@ BOOL WINAPI WinHelpA( HWND hWnd, LPCSTR lpHelpFile, UINT wCommand, hDest = FindWindowA( "MS_WINHELP", NULL ); if(!hDest) { if(wCommand == HELP_QUIT) return TRUE; - if (WinExec ( "winhlp32.exe -x", SW_SHOWNORMAL ) < 32) return FALSE; - if ( ! ( hDest = FindWindowA ( "MS_WINHELP", NULL ) )) return FALSE; + if (WinExec ( "winhlp32.exe -x", SW_SHOWNORMAL ) < 32) { + FIXME("cant start winhlp32.exe -x?\n"); + return FALSE; + } + if ( ! ( hDest = FindWindowA ( "MS_WINHELP", NULL ) )) { + FIXME("did not find MS_WINHELP\n"); + return FALSE; + } } @@ -106,7 +112,7 @@ BOOL WINAPI WinHelpA( HWND hWnd, LPCSTR lpHelpFile, UINT wCommand, dsize = ((LPHELPWININFOA)dwData)->wStructSize; break; default: - WARN("Unknown help command %d\n",wCommand); + FIXME("Unknown help command %d\n",wCommand); return FALSE; } if(lpHelpFile)