Commit 4a70d335 authored by Hugh McMaster's avatar Hugh McMaster Committed by Alexandre Julliard

regedit: Display data for all values in the GUI.

parent 878a0a4e
......@@ -129,8 +129,13 @@ void format_value_data(HWND hwndLV, int index, DWORD type, void *data, DWORD siz
ListView_SetItemTextW(hwndLV, index, 2, buf);
break;
}
case REG_MULTI_SZ:
MakeMULTISZDisplayable(data);
ListView_SetItemTextW(hwndLV, index, 2, data);
break;
case REG_BINARY:
case REG_NONE:
default:
{
unsigned int i;
BYTE *pData = data;
......@@ -143,17 +148,6 @@ void format_value_data(HWND hwndLV, int index, DWORD type, void *data, DWORD siz
HeapFree(GetProcessHeap(), 0, strBinary);
break;
}
case REG_MULTI_SZ:
MakeMULTISZDisplayable(data);
ListView_SetItemTextW(hwndLV, index, 2, data);
break;
default:
{
WCHAR szText[128];
LoadStringW(hInst, IDS_REGISTRY_VALUE_CANT_DISPLAY, szText, COUNT_OF(szText));
ListView_SetItemTextW(hwndLV, index, 2, szText);
break;
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment