diff options
author | George Hazan <george.hazan@gmail.com> | 2015-07-27 11:00:02 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-07-27 11:00:02 +0000 |
commit | 0d289371985e2d099b0de6b8150dbb74fb416e43 (patch) | |
tree | 6f458445f16db7331d3e7e64e2c0ca5685db2d31 /plugins/Sessions/Src | |
parent | 3412f466bdafa84485bb35c6913c309d315d6a4e (diff) |
fix for a crash when a pointer gets converted to int
git-svn-id: http://svn.miranda-ng.org/main/trunk@14737 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Sessions/Src')
-rw-r--r-- | plugins/Sessions/Src/Main.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/Sessions/Src/Main.cpp b/plugins/Sessions/Src/Main.cpp index 73afb9408d..d0a9924980 100644 --- a/plugins/Sessions/Src/Main.cpp +++ b/plugins/Sessions/Src/Main.cpp @@ -229,11 +229,9 @@ INT_PTR CALLBACK SaveSessionDlgProc(HWND hdlg, UINT msg, WPARAM wparam, LPARAM l DestroyWindow(hdlg);
g_hSDlg = 0;
}
- else
- MessageBox(NULL, TranslateT("Current session is empty!"), TranslateT("Sessions Manager"), MB_OK | MB_ICONWARNING);
+ else MessageBox(NULL, TranslateT("Current session is empty!"), TranslateT("Sessions Manager"), MB_OK | MB_ICONWARNING);
}
- else
- MessageBox(NULL, TranslateT("Session name is empty, enter the name and try again"), TranslateT("Sessions Manager"), MB_OK | MB_ICONWARNING);
+ else MessageBox(NULL, TranslateT("Session name is empty, enter the name and try again"), TranslateT("Sessions Manager"), MB_OK | MB_ICONWARNING);
}
break;
|