diff options
Diffstat (limited to 'src/windows/leash')
-rw-r--r-- | src/windows/leash/Leash.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/windows/leash/Leash.cpp b/src/windows/leash/Leash.cpp index 1f12e913e3..0c68faf5ed 100644 --- a/src/windows/leash/Leash.cpp +++ b/src/windows/leash/Leash.cpp @@ -241,7 +241,7 @@ BOOL CLeashApp::InitInstance() } ReleaseMutex(ticketinfo.lockObj); - ldi.size = sizeof(ldi); + ldi.size = LSH_DLGINFO_EX_V1_SZ; ldi.dlgtype = DLGTYPE_PASSWD; ldi.title = "Initialize Ticket"; ldi.username = username; @@ -1466,7 +1466,7 @@ CLeashApp::ObtainTicketsViaUserIfNeeded(HWND hWnd) ReleaseMutex(m_tgsReqMutex); #endif LSH_DLGINFO_EX ldi; - ldi.size = sizeof(ldi); + ldi.size = LSH_DLGINFO_EX_V1_SZ; ldi.dlgtype = DLGTYPE_PASSWD; ldi.title = "Initialize Ticket"; ldi.username = NULL; @@ -1499,7 +1499,7 @@ CLeashApp::ObtainTicketsViaUserIfNeeded(HWND hWnd) ReleaseMutex(m_tgsReqMutex); #endif LSH_DLGINFO_EX ldi; - ldi.size = sizeof(ldi); + ldi.size = LSH_DLGINFO_EX_V1_SZ; ldi.dlgtype = DLGTYPE_PASSWD; ldi.title = "Initialize Ticket"; ldi.username = NULL; @@ -1525,7 +1525,7 @@ CLeashApp::ObtainTicketsViaUserIfNeeded(HWND hWnd) ReleaseMutex(m_tgsReqMutex); #endif LSH_DLGINFO_EX ldi; - ldi.size = sizeof(ldi); + ldi.size = LSH_DLGINFO_EX_V1_SZ; ldi.dlgtype = DLGTYPE_PASSWD; ldi.title = "Initialize Ticket"; ldi.username = NULL; @@ -1623,7 +1623,7 @@ CLeashApp::InitWorker(void * hWnd) #endif if ( ProbeKDC() ) { LSH_DLGINFO_EX ldi; - ldi.size = sizeof(ldi); + ldi.size = LSH_DLGINFO_EX_V1_SZ; ldi.dlgtype = DLGTYPE_PASSWD; ldi.title = "Initialize Ticket"; ldi.username = NULL; |