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:
parent
fecaa443b5
commit
abb33fb90e
|
@ -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 );
|
status = NtOpenFile( file, GENERIC_READ, &attr, &io, FILE_SHARE_READ, FILE_SYNCHRONOUS_IO_ALERT );
|
||||||
if (!status) TRACE( "found %s\n", debugstr_w( valueW.Buffer ));
|
if (!status) TRACE( "found %s\n", debugstr_w( valueW.Buffer ));
|
||||||
RtlFreeUnicodeString( &valueW );
|
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 */
|
/* not found, try in build or data dir */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue