Commit aee74677 authored by Stefan Leichter's avatar Stefan Leichter Committed by Alexandre Julliard

Fixed typo in DOS device check in CreateFileW.

parent fe8ead56
......@@ -379,7 +379,7 @@ HANDLE WINAPI CreateFileW( LPCWSTR filename, DWORD access, DWORD sharing,
}
goto done;
}
else if (!RtlIsDosDeviceName_U( filename ))
else if (!RtlIsDosDeviceName_U( filename + 4 ))
{
ret = VXD_Open( filename+4, access, sa );
goto done;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment