[MOUNTMGR]
authorPierre Schweitzer <pierre@reactos.org>
Fri, 27 Dec 2013 16:19:03 +0000 (16:19 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Fri, 27 Dec 2013 16:19:03 +0000 (16:19 +0000)
Fix a typo.
Spotted by Thomas

svn path=/trunk/; revision=61449

reactos/drivers/filters/mountmgr/device.c

index 8d069c9..e76b7aa 100644 (file)
@@ -981,7 +981,7 @@ MountMgrQueryDosVolumePath(IN PDEVICE_EXTENSION DeviceExtension,
 
 TryWithVolumeName:
     /* If we didn't find anything, try differently */
-    if (DeviceLength < 2 * sizeof(WCHAR) || DeviceString[2] != L':')
+    if (DeviceLength < 2 * sizeof(WCHAR) || DeviceString[1] != L':')
     {
         if (DeviceString)
         {