mirror of
https://github.com/reactos/reactos.git
synced 2024-07-05 20:25:17 +00:00
[WINESYNC] 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> wine commit id cfe4ce28ebc0f381eb2f561ad3111eef71505546 by Zebediah Figura <z.figura12@gmail.com>
This commit is contained in:
parent
d306987d57
commit
c1b2ea9954
|
@ -636,7 +636,7 @@ BOOL WINAPI SetupQueueCopyIndirectW( PSP_FILE_COPY_PARAMS_W params )
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* some defaults */
|
/* 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)
|
if (params->LayoutInf)
|
||||||
#ifdef __REACTOS__
|
#ifdef __REACTOS__
|
||||||
{
|
{
|
||||||
|
|
|
@ -8,4 +8,4 @@ files:
|
||||||
dlls/setupapi/setupcab.c: dll/win32/setupapi/setupcab.c
|
dlls/setupapi/setupcab.c: dll/win32/setupapi/setupcab.c
|
||||||
dlls/setupapi/stringtable.c: dll/win32/setupapi/stringtable_wine.c
|
dlls/setupapi/stringtable.c: dll/win32/setupapi/stringtable_wine.c
|
||||||
tags:
|
tags:
|
||||||
wine: db8e2388d940f908db009f34f620da1ac8b46d07
|
wine: cfe4ce28ebc0f381eb2f561ad3111eef71505546
|
||||||
|
|
Loading…
Reference in a new issue