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

This commit is contained in:
Francois Gouget 2006-12-21 14:48:15 +01:00 committed by Alexandre Julliard
parent 6b033cc1e6
commit 8cfd025164
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ static BOOL copy_files_callback( HINF hinf, PCWSTR field, void *arg )
struct files_callback_info *info = arg; struct files_callback_info *info = arg;
if (field[0] == '@') /* special case: copy single file */ 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 else
SetupQueueCopySectionW( info->queue, info->src_root, info->layout, hinf, field, info->copy_flags ); SetupQueueCopySectionW( info->queue, info->src_root, info->layout, hinf, field, info->copy_flags );
return TRUE; return TRUE;