Francois Gouget : setupapi: Fix handling of 'CopyFiles=@file'.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Dec 21 10:36:40 CST 2006


Module: wine
Branch: master
Commit: 8cfd0251646862dd1415c9ac028958c044b38eb1
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8cfd0251646862dd1415c9ac028958c044b38eb1

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Thu Dec 21 14:48:15 2006 +0100

setupapi: Fix handling of 'CopyFiles=@file'.

---

 dlls/setupapi/install.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/setupapi/install.c b/dlls/setupapi/install.c
index 4c60b86..46f1b94 100644
--- a/dlls/setupapi/install.c
+++ b/dlls/setupapi/install.c
@@ -113,7 +113,7 @@ static BOOL copy_files_callback( HINF hi
     struct files_callback_info *info = arg;
 
     if (field[0] == '@')  /* special case: copy single file */
-        SetupQueueDefaultCopyW( info->queue, info->layout, info->src_root, NULL, field, info->copy_flags );
+        SetupQueueDefaultCopyW( info->queue, info->layout, info->src_root, NULL, field+1, info->copy_flags );
     else
         SetupQueueCopySectionW( info->queue, info->src_root, info->layout, hinf, field, info->copy_flags );
     return TRUE;




More information about the wine-cvs mailing list