Ignore:
Timestamp:
Nov 13, 2002, 12:50:07 PM (23 years ago)
Author:
sandervl
Message:

Wine resync

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/setupapi/virtcopy.c

    r8667 r9403  
    468468        TRACE("copying '%s' to '%s'\n", fn_src, fn_dst);
    469469        /* perform the file copy */
    470         if (!(CopyFileA(fn_src, fn_dst, TRUE)))
     470        if (!(CopyFileA(fn_src, fn_dst,
     471               (lpvn->fl & VNLP_COPYIFEXISTS) ? FALSE : TRUE )))
    471472        {
    472473            ERR("error copying, src: %s -> dst: %s\n", fn_src, fn_dst);
     
    579580static char BackupDir[12];
    580581
    581 static BOOL CALLBACK VCP_UI_FileCopyDlgProc(HWND hWndDlg, UINT iMsg, WPARAM wParam, LPARAM lParam)
    582 {
    583     BOOL retval = FALSE;
     582static INT_PTR CALLBACK VCP_UI_FileCopyDlgProc(HWND hWndDlg, UINT iMsg, WPARAM wParam, LPARAM lParam)
     583{
     584    INT_PTR retval = FALSE;
    584585
    585586    if (iMsg == WM_INITDIALOG)
     
    594595BOOL VCP_UI_GetDialogTemplate(LPCVOID *template32)
    595596{
    596     HANDLE hResInfo, hDlgTmpl32;
     597    HRSRC hResInfo;
     598    HGLOBAL hDlgTmpl32;
    597599
    598600    if (!(hResInfo = FindResourceA(SETUPAPI_hInstance, MAKEINTRESOURCEA(COPYFILEDLGORD), RT_DIALOGA)))
Note: See TracChangeset for help on using the changeset viewer.