mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 03:08:19 +00:00
cryptui: Have a single empty wide string at the top of main.c.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
be8870d5ea
commit
9b69fe2332
|
@ -46,6 +46,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(cryptui);
|
|||
|
||||
static HINSTANCE hInstance;
|
||||
|
||||
static const WCHAR empty[] = {0};
|
||||
|
||||
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
||||
{
|
||||
TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
|
||||
|
@ -804,8 +806,6 @@ static LRESULT CALLBACK cert_mgr_advanced_dlg_proc(HWND hwnd, UINT msg,
|
|||
|
||||
static void cert_mgr_clear_cert_selection(HWND hwnd)
|
||||
{
|
||||
WCHAR empty[] = { 0 };
|
||||
|
||||
EnableWindow(GetDlgItem(hwnd, IDC_MGR_EXPORT), FALSE);
|
||||
EnableWindow(GetDlgItem(hwnd, IDC_MGR_REMOVE), FALSE);
|
||||
EnableWindow(GetDlgItem(hwnd, IDC_MGR_VIEW), FALSE);
|
||||
|
@ -1166,7 +1166,6 @@ static LRESULT CALLBACK cert_mgr_dlg_proc(HWND hwnd, UINT msg, WPARAM wp,
|
|||
break;
|
||||
case LVN_ITEMCHANGED:
|
||||
{
|
||||
WCHAR empty[] = { 0 };
|
||||
NMITEMACTIVATE *nm = (NMITEMACTIVATE*)lp;
|
||||
HWND lv = GetDlgItem(hwnd, IDC_MGR_CERTS);
|
||||
int numSelected = SendMessageW(lv, LVM_GETSELECTEDCOUNT, 0, 0);
|
||||
|
|
Loading…
Reference in a new issue