mountmgr: Fix of incorrect add a network drive.

Данил Плешаков darkdan at etersoft.ru
Wed Nov 28 04:06:40 CST 2012



-------- Исходное сообщение --------
Тема: mountmgr: Fix of incorrect add a network drive.
Дата: 28.11.2012 13:53
От: Данил Плешаков <darkdan at etersoft.ru>
Кому: <lav at etersoft.ru>

This patch fix array device_types in device.c, where was missing string 
"dvd". This is was cause of incorrect value of device type in registry.


diff --git a/dlls/mountmgr.sys/device.c b/dlls/mountmgr.sys/device.c
index 8367cba..7e38b51 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 */
+    {'d','v','d',0},                 /* DEVICE_DVD */
      {'n','e','t','w','o','r','k',0}, /* DEVICE_NETWORK */
      {'r','a','m','d','i','s','k',0}  /* DEVICE_RAMDISK */
  };
-- 
1.7.12.4




More information about the wine-patches mailing list