Skip to content

Commit

Permalink
HardwareDevices: fix crash in GPU details
Browse files Browse the repository at this point in the history
Regression introduced in f8757a.

Fixes winsiderss#2364.
  • Loading branch information
ge0rdi committed Jan 4, 2025
1 parent 8ef28f8 commit ea2046f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/HardwareDevices/gpudetails.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit ea2046f

Please sign in to comment.