From ea2046f7e2fd478472ae51981f47d92bea8e07ea Mon Sep 17 00:00:00 2001 From: ge0rdi Date: Sun, 5 Jan 2025 00:08:23 +0100 Subject: [PATCH] HardwareDevices: fix crash in GPU details Regression introduced in f8757a. Fixes #2364. --- plugins/HardwareDevices/gpudetails.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/HardwareDevices/gpudetails.c b/plugins/HardwareDevices/gpudetails.c index 8b59774bed0b..93178c302605 100644 --- a/plugins/HardwareDevices/gpudetails.c +++ b/plugins/HardwareDevices/gpudetails.c @@ -372,7 +372,7 @@ INT_PTR CALLBACK GraphicsDeviceDetailsDlgProc( { context->DialogHandle = hwndDlg; context->ListViewHandle = GetDlgItem(hwndDlg, IDC_GPULIST); - context->ListViewClass = PhGetListViewInterface(hwndDlg); + context->ListViewClass = PhGetListViewInterface(context->ListViewHandle); PhSetApplicationWindowIcon(hwndDlg);