[1/3] mountmgr.sys: Add a missing entry for DEVICE_DVD to match mountmgr.h enumeration types.
Dmitry Timoshkov
dmitry at baikal.ru
Wed Apr 17 22:39:11 CDT 2013
This patch fixes the type saved to the registry for network and ramdisk drives.
---
dlls/mountmgr.sys/device.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/mountmgr.sys/device.c b/dlls/mountmgr.sys/device.c
index 8367cba..005ec5e 100644
--- a/dlls/mountmgr.sys/device.c
+++ b/dlls/mountmgr.sys/device.c
@@ -48,6 +48,7 @@ static const WCHAR drive_types[][8] =
{'h','d',0}, /* DEVICE_HARDDISK_VOL */
{'f','l','o','p','p','y',0}, /* DEVICE_FLOPPY */
{'c','d','r','o','m',0}, /* DEVICE_CDROM */
+ {'c','d','r','o','m',0}, /* DEVICE_DVD */
{'n','e','t','w','o','r','k',0}, /* DEVICE_NETWORK */
{'r','a','m','d','i','s','k',0} /* DEVICE_RAMDISK */
};
--
1.8.2.1
More information about the wine-patches
mailing list