setupapi: Avoid passing a NULL source filename to SetupQueueDefaultCopy().

Fixes a regression introduced by 705d3eed86.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47138
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2019-05-07 18:04:10 -05:00 committed by Alexandre Julliard
parent 83f5951810
commit 9ccf1dd88b
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ static BOOL copy_files_callback( HINF hinf, PCWSTR field, void *arg )
if (field[0] == '@') /* special case: copy single file */
SetupQueueDefaultCopyW( info->queue, info->layout ? info->layout : hinf,
info->src_root ? info->src_root : src_root, NULL, field+1, info->copy_flags );
info->src_root ? info->src_root : src_root, field+1, field+1, info->copy_flags );
else
SetupQueueCopySectionW( info->queue, info->src_root ? info->src_root : src_root,
info->layout ? info->layout : hinf, hinf, field, info->copy_flags );