Loweynet
Revisão | 6ded61c26047b5eb3a5c1604b90b46527485865c (tree) |
---|---|
Hora | 2012-02-15 20:28:38 |
Autor | s_kawamoto <s_kawamoto@user...> |
Commiter | s_kawamoto |
Fix bugs of confirmation of erasing host settings.
@@ -319,8 +319,11 @@ static INT_PTR CALLBACK SelectHostProc(HWND hDlg, UINT message, WPARAM wParam, L | ||
319 | 319 | CurrentHost = Item.lParam; |
320 | 320 | Level1 = IsNodeGroup(CurrentHost); |
321 | 321 | |
322 | - if(((Level1 == YES) && (DialogBox(GetFtpInst(), MAKEINTRESOURCE(groupdel_dlg), GetMainHwnd(), ExeEscDialogProc) == YES)) || | |
323 | - ((Level1 == NO) && (DialogBox(GetFtpInst(), MAKEINTRESOURCE(hostdel_dlg), GetMainHwnd(), ExeEscDialogProc) == YES))) | |
322 | + // バグ修正 | |
323 | +// if(((Level1 == YES) && (DialogBox(GetFtpInst(), MAKEINTRESOURCE(groupdel_dlg), GetMainHwnd(), ExeEscDialogProc) == YES)) || | |
324 | +// ((Level1 == NO) && (DialogBox(GetFtpInst(), MAKEINTRESOURCE(hostdel_dlg), GetMainHwnd(), ExeEscDialogProc) == YES))) | |
325 | + if(((Level1 == YES) && (DialogBox(GetFtpInst(), MAKEINTRESOURCE(groupdel_dlg), hDlg, ExeEscDialogProc) == YES)) || | |
326 | + ((Level1 == NO) && (DialogBox(GetFtpInst(), MAKEINTRESOURCE(hostdel_dlg), hDlg, ExeEscDialogProc) == YES))) | |
324 | 327 | { |
325 | 328 | DelHostFromList(CurrentHost); |
326 | 329 | if(CurrentHost >= Hosts) |