mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 14:10:40 +00:00
ntdll: Set the initial DllPath to null if it's empty.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
50e33a213d
commit
9bdfb1f34a
|
@ -2011,7 +2011,7 @@ void init_startup_info(void)
|
|||
params->CurrentDirectory.DosPath.MaximumLength = MAX_PATH * sizeof(WCHAR);
|
||||
dst = params->CurrentDirectory.DosPath.Buffer + MAX_PATH;
|
||||
|
||||
copy_unicode_string( &src, &dst, ¶ms->DllPath, info->dllpath_len );
|
||||
if (info->dllpath_len) copy_unicode_string( &src, &dst, ¶ms->DllPath, info->dllpath_len );
|
||||
copy_unicode_string( &src, &dst, ¶ms->ImagePathName, info->imagepath_len );
|
||||
copy_unicode_string( &src, &dst, ¶ms->CommandLine, info->cmdline_len );
|
||||
copy_unicode_string( &src, &dst, ¶ms->WindowTitle, info->title_len );
|
||||
|
|
Loading…
Reference in a new issue