summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src/msgtimedout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Scriver/src/msgtimedout.cpp')
-rw-r--r--plugins/Scriver/src/msgtimedout.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Scriver/src/msgtimedout.cpp b/plugins/Scriver/src/msgtimedout.cpp
index 61c930800a..19dbca5900 100644
--- a/plugins/Scriver/src/msgtimedout.cpp
+++ b/plugins/Scriver/src/msgtimedout.cpp
@@ -26,7 +26,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
INT_PTR CALLBACK ErrorDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
{
ErrorWindowData *ewd = (ErrorWindowData *) GetWindowLongPtr(hwndDlg, GWLP_USERDATA);
- //if (ewd==NULL && msg!=WM_INITDIALOG) return FALSE;
+ //if (ewd==nullptr && msg!=WM_INITDIALOG) return FALSE;
switch (msg) {
case WM_INITDIALOG:
{
@@ -35,7 +35,7 @@ INT_PTR CALLBACK ErrorDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPar
ewd = (ErrorWindowData *) lParam;
SetWindowLongPtr(hwndDlg, GWLP_USERDATA, (LONG_PTR) ewd);
TranslateDialogDefault(hwndDlg);
- if (ewd != NULL) {
+ if (ewd != nullptr) {
ShowWindow(GetParent(ewd->hwndParent), SW_RESTORE);
if (ewd->szDescription)
SetDlgItemText(hwndDlg, IDC_ERRORTEXT, ewd->szDescription);