diff options
Diffstat (limited to 'plugins/SeenPlugin/src/history.cpp')
-rw-r--r-- | plugins/SeenPlugin/src/history.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/SeenPlugin/src/history.cpp b/plugins/SeenPlugin/src/history.cpp index b14c59a970..2e6f647f8d 100644 --- a/plugins/SeenPlugin/src/history.cpp +++ b/plugins/SeenPlugin/src/history.cpp @@ -104,6 +104,8 @@ HDWP MyResizeWindow(HDWP hDwp, HWND hwndDlg, HWND hwndControl, POINT pt;
RECT rcinit;
+ if (NULL == hwndDlg) /* Wine fix. */
+ return hDwp;
// get current bounding rectangle
GetWindowRect(hwndControl, &rcinit);
@@ -130,6 +132,8 @@ HDWP MyHorizCenterWindow(HDWP hDwp, HWND hwndDlg, HWND hwndControl, POINT pt;
RECT rcinit;
+ if (NULL == hwndDlg) /* Wine fix. */
+ return hDwp;
// get current bounding rectangle
GetWindowRect(hwndControl, &rcinit);
|