diff options
Diffstat (limited to 'plugins/Scriver/src/msgtimedout.cpp')
-rw-r--r-- | plugins/Scriver/src/msgtimedout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Scriver/src/msgtimedout.cpp b/plugins/Scriver/src/msgtimedout.cpp index 96612fa2be..a1546a6b0d 100644 --- a/plugins/Scriver/src/msgtimedout.cpp +++ b/plugins/Scriver/src/msgtimedout.cpp @@ -35,8 +35,8 @@ INT_PTR CALLBACK ErrorDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPar ewd = (ErrorWindowData *) lParam;
SetWindowLongPtr(hwndDlg, GWLP_USERDATA, (LONG_PTR) ewd);
TranslateDialogDefault(hwndDlg);
- ShowWindow(GetParent(ewd->hwndParent), SW_RESTORE);
if (ewd != NULL) {
+ ShowWindow(GetParent(ewd->hwndParent), SW_RESTORE);
if (ewd->szDescription) {
SetDlgItemText(hwndDlg, IDC_ERRORTEXT, ewd->szDescription);
} else {
|