Skip to content

Commit

Permalink
Update tokprp.c
Browse files Browse the repository at this point in the history
  • Loading branch information
dmex committed Jan 18, 2025
1 parent 9bf3a80 commit 615db94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SystemInformer/tokprp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1428,7 +1428,7 @@ INT_PTR CALLBACK PhpTokenPageProc(
PhAddLayoutItem(&tokenPageContext->LayoutManager, GetDlgItem(hwndDlg, IDC_INTEGRITY), NULL, PH_ANCHOR_RIGHT | PH_ANCHOR_BOTTOM);
PhAddLayoutItem(&tokenPageContext->LayoutManager, GetDlgItem(hwndDlg, IDC_ADVANCED), NULL, PH_ANCHOR_RIGHT | PH_ANCHOR_BOTTOM);

if (PhValidWindowPlacementFromSetting(L"TokenWindowPosition"))
if (PhGetIntegerPairSetting(L"TokenWindowPosition").X != 0)
PhLoadWindowPlacementFromSetting(L"TokenWindowPosition", L"TokenWindowSize", hwndDlg);
else
PhCenterWindow(hwndDlg, NULL);
Expand Down

0 comments on commit 615db94

Please sign in to comment.