diff options
Diffstat (limited to 'plugins/CrashDumper/src/ui.cpp')
-rw-r--r-- | plugins/CrashDumper/src/ui.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/CrashDumper/src/ui.cpp b/plugins/CrashDumper/src/ui.cpp index 546c94cab6..d5908043c3 100644 --- a/plugins/CrashDumper/src/ui.cpp +++ b/plugins/CrashDumper/src/ui.cpp @@ -23,6 +23,8 @@ extern HINSTANCE hInst; HDWP MyResizeWindow(HDWP hDwp, HWND hwndDlg, HWND hwndCtrl, int nHorizontalOffset, int nVerticalOffset, int nWidthOffset, int nHeightOffset)
{
+ if (NULL == hwndDlg) /* Wine fix. */
+ return hDwp;
// get current bounding rectangle
RECT rcinit;
GetWindowRect(hwndCtrl, &rcinit);
|