Skip to content
Snippets Groups Projects
Commit 2772a67c authored by Alexander Larsson's avatar Alexander Larsson Committed by Alexandre Julliard
Browse files

Reverted previous patch.

parent 8ccb0a54
No related branches found
No related tags found
No related merge requests found
......@@ -824,14 +824,14 @@ BOOL32 DOSFS_GetFullName( LPCSTR name, BOOL32 check_last, DOS_FULL_NAME *full )
if (!found)
{
if (*name) /* Not last */
if (check_last)
{
DOS_ERROR( ER_PathNotFound, EC_NotFound, SA_Abort, EL_Disk );
DOS_ERROR( ER_FileNotFound, EC_NotFound, SA_Abort, EL_Disk );
return FALSE;
}
if (check_last)
if (*name) /* Not last */
{
DOS_ERROR( ER_FileNotFound, EC_NotFound, SA_Abort, EL_Disk );
DOS_ERROR( ER_PathNotFound, EC_NotFound, SA_Abort, EL_Disk );
return FALSE;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment