Fix default log window location
@@ -179,7 +179,10 @@ INT_PTR CALLBACK PhpLogDlgProc(
MinimumSize.bottom = 150;
MapDialogRect(hwndDlg, &MinimumSize);
+ if (PhGetIntegerPairSetting(L"LogWindowPosition").X)
PhLoadWindowPlacementFromSetting(L"LogWindowPosition", L"LogWindowSize", hwndDlg);
+ else
+ PhCenterWindow(hwndDlg, PhMainWndHandle);
Button_SetCheck(GetDlgItem(hwndDlg, IDC_AUTOSCROLL), BST_CHECKED);
