Skip to content

Commit

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

Fixes #2364.
  • Loading branch information
ge0rdi authored Jan 5, 2025
1 parent 8ef28f8 commit c79ad2a
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 c79ad2a

Please sign in to comment.