mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 04:13:35 +00:00
[shell32] Split declarations and operations, in case any pure C compiler cares
svn path=/trunk/; revision=51436
This commit is contained in:
@@ -1429,8 +1429,10 @@ static UINT_PTR SHELL_execute_url( LPCWSTR lpFile, LPCWSTR wFile, LPCWSTR wcmd,
|
||||
void do_error_dialog( UINT_PTR retval, HWND hwnd, WCHAR* filename)
|
||||
{
|
||||
WCHAR msg[2048];
|
||||
DWORD error_code = GetLastError();
|
||||
DWORD_PTR msgArguments[3] = { (DWORD_PTR)filename, 0, 0 };
|
||||
DWORD error_code;
|
||||
|
||||
error_code = GetLastError();
|
||||
|
||||
if (retval == SE_ERR_NOASSOC)
|
||||
LoadStringW(shell32_hInstance, IDS_SHLEXEC_NOASSOC, msg, sizeof(msg)/sizeof(WCHAR));
|
||||
|
||||
Reference in New Issue
Block a user