Fix compile-time warning, spotted by Sylvain Petreolle <spetreolle@yahoo.fr>

svn path=/trunk/; revision=10800
This commit is contained in:
Gé van Geldorp 2004-09-07 14:27:04 +00:00
parent 144119a87d
commit b1c0463316

View file

@ -164,7 +164,7 @@ INT_PTR CALLBACK RunDlgProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lPar
psz = malloc (ic + 2) ;
GetWindowTextA (htxt, psz, ic + 1) ;
if ((ShellExecuteA(NULL, _T("open"), psz, NULL, NULL, SW_SHOWNORMAL)) < 33)
if (ShellExecuteA(NULL, "open", psz, NULL, NULL, SW_SHOWNORMAL) < (HINSTANCE)33)
{
char *pszSysMsg = NULL ;
FormatMessageA (