setupapi: Use the source file name if the destination file name is NULL.
Do not do the reverse. Windows crashes if SourceFilename is NULL. Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
db8e2388d9
commit
cfe4ce28eb
|
@ -539,7 +539,7 @@ BOOL WINAPI SetupQueueCopyIndirectW( PSP_FILE_COPY_PARAMS_W params )
|
|||
op->dst_file = strdupW( params->TargetFilename );
|
||||
|
||||
/* some defaults */
|
||||
if (!op->src_file) op->src_file = op->dst_file;
|
||||
if (!op->dst_file) op->dst_file = op->src_file;
|
||||
if (params->LayoutInf)
|
||||
FIXME("Unhandled LayoutInf %p.\n", params->LayoutInf);
|
||||
|
||||
|
|
Loading…
Reference in New Issue