mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 14:50:48 +00:00
Allow regedit to edit (Default) key values.
This commit is contained in:
parent
6c95e75fea
commit
da7a575328
1 changed files with 2 additions and 0 deletions
|
@ -199,6 +199,8 @@ BOOL ModifyValue(HWND hwnd, HKEY hKeyRoot, LPCTSTR keyPath, LPCTSTR valueName)
|
||||||
if (lRet != ERROR_SUCCESS) return FALSE;
|
if (lRet != ERROR_SUCCESS) return FALSE;
|
||||||
|
|
||||||
editValueName = valueName;
|
editValueName = valueName;
|
||||||
|
if (!lstrcmp(valueName, _T("(Default)")))
|
||||||
|
valueName = NULL;
|
||||||
if(!(stringValueData = read_value(hwnd, hKey, valueName, &type, 0))) goto done;
|
if(!(stringValueData = read_value(hwnd, hKey, valueName, &type, 0))) goto done;
|
||||||
|
|
||||||
if ( (type == REG_SZ) || (type == REG_EXPAND_SZ) ) {
|
if ( (type == REG_SZ) || (type == REG_EXPAND_SZ) ) {
|
||||||
|
|
Loading…
Reference in a new issue