From aee74677310712274c9fd09f5081d9795fbc8d42 Mon Sep 17 00:00:00 2001 From: Stefan Leichter Date: Fri, 12 Mar 2004 02:02:13 +0000 Subject: [PATCH] Fixed typo in DOS device check in CreateFileW. --- files/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/file.c b/files/file.c index 8ad74aff87f..8ec467a58a7 100644 --- a/files/file.c +++ b/files/file.c @@ -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;