[SHELL32]

- Assume it is an empty cdrom drive when there is no root mounted

See issue #2977 for more details.

svn path=/trunk/; revision=47033
This commit is contained in:
Johannes Anderwald 2010-04-26 12:56:32 +00:00
parent 5367720c46
commit 3c0e9dffbc

View file

@ -257,6 +257,7 @@ IExtractIconW* IExtractIconW_Constructor(LPCITEMIDLIST pidl)
case DRIVE_CDROM: icon_idx = IDI_SHELL_CDROM; break;
case DRIVE_REMOTE: icon_idx = IDI_SHELL_NETDRIVE; break;
case DRIVE_RAMDISK: icon_idx = IDI_SHELL_RAMDISK; break;
case DRIVE_NO_ROOT_DIR: icon_idx = IDI_SHELL_CDROM; break;
}
}