summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus/src/dlg_msgbox.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-09-04 19:52:35 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-09-04 19:52:35 +0300
commit61a1179854e8dd939c6566d6fb6ab035ab4a6d9c (patch)
tree73da29d5f9c04e13e5ed59fca65043141cd6fb1b /plugins/SendScreenshotPlus/src/dlg_msgbox.cpp
parentfdbcf7a4ad9d62d6786cd8e2251d797d68488b50 (diff)
SendSS:
- fixes #1305 completely - code cleaning
Diffstat (limited to 'plugins/SendScreenshotPlus/src/dlg_msgbox.cpp')
-rw-r--r--plugins/SendScreenshotPlus/src/dlg_msgbox.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/plugins/SendScreenshotPlus/src/dlg_msgbox.cpp b/plugins/SendScreenshotPlus/src/dlg_msgbox.cpp
index 82751abf8a..5603dca892 100644
--- a/plugins/SendScreenshotPlus/src/dlg_msgbox.cpp
+++ b/plugins/SendScreenshotPlus/src/dlg_msgbox.cpp
@@ -20,7 +20,7 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-/// SendSS compatibility:
+// SendSS compatibility:
#include "stdafx.h"
#define ghInst g_plugin.getInst()
#define myGlobals g_myGlobals
@@ -35,7 +35,7 @@ HICON Skin_GetIcon_SendSS(unsigned short id)
return GetIconBtn(id);
}
#define IcoLib_GetIcon Skin_GetIcon_SendSS
-/// original UserInfoEx codebase (almost):
+// original UserInfoEx codebase (almost):
typedef struct _MSGPOPUPDATA
{
@@ -300,9 +300,7 @@ static INT_PTR CALLBACK MsgBoxProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM l
MoveCtrl(hDlg, TXT_MESSAGE, -mpt.x - icoWidth, -mpt.y - InfoBarHeight, needX, needY);
MoveCtrl(hDlg, STATIC_LINE2, -mpt.x, -mpt.y + needY - InfoBarHeight, needX, 0);
- //
// Do pushbutton positioning
- //
RECT rcOk, rcAll, rcNone, rcCancel;
// get button rectangles
@@ -412,7 +410,6 @@ static INT_PTR CALLBACK MsgBoxProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM l
SetDlgItemText(hDlg, IDOK, LPGENW("Yes"));
retAll = IDALL;
SetDlgItemText(hDlg, IDALL, LPGENW("All"));
- //retNon = IDNONE;
SetDlgItemText(hDlg, IDNONE, LPGENW("None"));
retCancel = IDNO;
SetDlgItemText(hDlg, IDCANCEL, LPGENW("No"));
@@ -504,7 +501,7 @@ static INT_PTR CALLBACK MsgBoxPop(HWND hDlg, UINT uMsg, WPARAM, LPARAM lParam)
if (pmpd) {
POPUPDATAT_V2 pd = { 0 };
pd.cbSize = sizeof(pd);
- pd.lchContact = NULL; //(HANDLE)wParam;
+ pd.lchContact = NULL; // (HANDLE)wParam;
// icon
pd.lchIcon = MsgLoadIcon(pMsgBox);
mir_wstrncpy(pd.lptzContactName, pMsgBox->ptszTitle, _countof(pd.lptzContactName));