mirror of
https://github.com/reactos/reactos.git
synced 2024-11-23 11:33:31 +08:00
[REGEDIT] edit.c: Display bus number as signed (it can be -1)
This commit is contained in:
parent
c9985e48d3
commit
deee8aaec1
@ -800,7 +800,7 @@ ParseResources(HWND hwnd)
|
|||||||
SetDlgItemTextW(hwnd, IDC_INTERFACETYPE, buffer);
|
SetDlgItemTextW(hwnd, IDC_INTERFACETYPE, buffer);
|
||||||
|
|
||||||
/* Busnumber */
|
/* Busnumber */
|
||||||
SetDlgItemInt(hwnd, IDC_BUSNUMBER, (UINT)pFullDescriptor->BusNumber, FALSE);
|
SetDlgItemInt(hwnd, IDC_BUSNUMBER, (UINT)pFullDescriptor->BusNumber, TRUE);
|
||||||
|
|
||||||
/* Version */
|
/* Version */
|
||||||
SetDlgItemInt(hwnd, IDC_VERSION, (UINT)pPartialResourceList->Version, FALSE);
|
SetDlgItemInt(hwnd, IDC_VERSION, (UINT)pPartialResourceList->Version, FALSE);
|
||||||
@ -1383,7 +1383,7 @@ AddRequirementsToList(HWND hwndDlg, HWND hwnd)
|
|||||||
|
|
||||||
GetInterfaceType(requirementsValueData->InterfaceType, buffer, 80);
|
GetInterfaceType(requirementsValueData->InterfaceType, buffer, 80);
|
||||||
SetDlgItemTextW(hwndDlg, IDC_REQINTERFACETYPE, buffer);
|
SetDlgItemTextW(hwndDlg, IDC_REQINTERFACETYPE, buffer);
|
||||||
SetDlgItemInt(hwndDlg, IDC_REQBUSNUMBER, (UINT)requirementsValueData->BusNumber, FALSE);
|
SetDlgItemInt(hwndDlg, IDC_REQBUSNUMBER, (UINT)requirementsValueData->BusNumber, TRUE);
|
||||||
SetDlgItemInt(hwndDlg, IDC_REQSLOTNUMBER, (UINT)requirementsValueData->SlotNumber, FALSE);
|
SetDlgItemInt(hwndDlg, IDC_REQSLOTNUMBER, (UINT)requirementsValueData->SlotNumber, FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user