ntdll: Also ignore missing directories in NtGetNlsSectionPtr().

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48966
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2020-04-20 20:15:56 +02:00
parent fecaa443b5
commit abb33fb90e
1 changed files with 1 additions and 1 deletions

View File

@ -665,7 +665,7 @@ static NTSTATUS open_nls_data_file( ULONG type, ULONG id, HANDLE *file )
status = NtOpenFile( file, GENERIC_READ, &attr, &io, FILE_SHARE_READ, FILE_SYNCHRONOUS_IO_ALERT );
if (!status) TRACE( "found %s\n", debugstr_w( valueW.Buffer ));
RtlFreeUnicodeString( &valueW );
if (status != STATUS_OBJECT_NAME_NOT_FOUND) return status;
if (status != STATUS_OBJECT_NAME_NOT_FOUND && status != STATUS_OBJECT_PATH_NOT_FOUND) return status;
/* not found, try in build or data dir */