diff options
-rw-r--r-- | plugins/UserInfoEx/src/psp_profile.cpp | 2 | ||||
-rw-r--r-- | src/mir_core/src/Windows/resizer.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/UserInfoEx/src/psp_profile.cpp b/plugins/UserInfoEx/src/psp_profile.cpp index 1479d3a15a..2fe42aeab6 100644 --- a/plugins/UserInfoEx/src/psp_profile.cpp +++ b/plugins/UserInfoEx/src/psp_profile.cpp @@ -1363,7 +1363,7 @@ public: }
break;
}
- return FALSE;
+ return PSPBaseDlg::DlgProc(uMsg, wParam, lParam);
}
};
diff --git a/src/mir_core/src/Windows/resizer.cpp b/src/mir_core/src/Windows/resizer.cpp index 1f62d43bd4..3b5de46fcc 100644 --- a/src/mir_core/src/Windows/resizer.cpp +++ b/src/mir_core/src/Windows/resizer.cpp @@ -143,7 +143,7 @@ MIR_CORE_DLL(int) Utils_ResizeDialog(HWND hwndDlg, HINSTANCE hInstance, LPCSTR l } HWND hCtrl = GetDlgItem(hwndDlg, urc.wId); - if (hCtrl != nullptr) + if (hCtrl != nullptr && urc.wId != UINT(-1)) hDwp = DeferWindowPos(hDwp, hCtrl, nullptr, urc.rcItem.left, urc.rcItem.top, urc.rcItem.right - urc.rcItem.left, urc.rcItem.bottom - urc.rcItem.top, SWP_NOZORDER); } EndDeferWindowPos(hDwp); |