https://git.reactos.org/?p=reactos.git;a=commitdiff;h=deee8aaec17fe841054cd…
commit deee8aaec17fe841054cd5e8d4936e0279a3f47d
Author: Stanislav Motylkov <x86corez(a)gmail.com>
AuthorDate: Fri Jan 26 01:18:20 2024 +0300
Commit: Stanislav Motylkov <x86corez(a)gmail.com>
CommitDate: Fri Jan 26 01:18:20 2024 +0300
[REGEDIT] edit.c: Display bus number as signed (it can be -1)
---
base/applications/regedit/edit.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/base/applications/regedit/edit.c b/base/applications/regedit/edit.c
index ebcf410f67c..786eefc11b3 100644
--- a/base/applications/regedit/edit.c
+++ b/base/applications/regedit/edit.c
@@ -800,7 +800,7 @@ ParseResources(HWND hwnd)
SetDlgItemTextW(hwnd, IDC_INTERFACETYPE, buffer);
/* Busnumber */
- SetDlgItemInt(hwnd, IDC_BUSNUMBER, (UINT)pFullDescriptor->BusNumber, FALSE);
+ SetDlgItemInt(hwnd, IDC_BUSNUMBER, (UINT)pFullDescriptor->BusNumber, TRUE);
/* Version */
SetDlgItemInt(hwnd, IDC_VERSION, (UINT)pPartialResourceList->Version, FALSE);
@@ -1383,7 +1383,7 @@ AddRequirementsToList(HWND hwndDlg, HWND hwnd)
GetInterfaceType(requirementsValueData->InterfaceType, buffer, 80);
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);
}