- Make trash properties settings be unvolatile ;)

See issue #3786 for more details.

svn path=/trunk/; revision=37365
This commit is contained in:
Johannes Anderwald 2008-11-14 20:58:27 +00:00
parent bcddcfdd02
commit 6fe2ea4133

View file

@ -1287,7 +1287,7 @@ static BOOL StoreDriveSettings(HWND hwndDlg)
DWORD dwSize;
if (RegOpenKeyExW(HKEY_CURRENT_USER, L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Bitbucket\\Volume", 0, KEY_WRITE, &hKey) != ERROR_SUCCESS)
if (RegCreateKeyExW(HKEY_CURRENT_USER, L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Bitbucket\\Volume", 0, NULL, 0, KEY_WRITE, NULL, &hKey, NULL) != ERROR_SUCCESS)
return FALSE;
iCount = ListView_GetItemCount(hDlgCtrl);