summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus/src/dlg_msgbox.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2025-05-13 13:16:41 +0300
committerGeorge Hazan <george.hazan@gmail.com>2025-05-13 13:16:41 +0300
commit632700c7828d2b9667c8dc8bc3403f910b51e158 (patch)
treea0eebd39c1a49e9cf51f4fb8425bdf9d3e73fbdb /plugins/SendScreenshotPlus/src/dlg_msgbox.cpp
parentc42f503c8e3c1e6e4a7689b3b3cff17d2722c9ac (diff)
fixes #5017 (SendSS: UploadPie not working) + some code formatting
Diffstat (limited to 'plugins/SendScreenshotPlus/src/dlg_msgbox.cpp')
-rw-r--r--plugins/SendScreenshotPlus/src/dlg_msgbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SendScreenshotPlus/src/dlg_msgbox.cpp b/plugins/SendScreenshotPlus/src/dlg_msgbox.cpp
index afa6cf88db..dd87397c62 100644
--- a/plugins/SendScreenshotPlus/src/dlg_msgbox.cpp
+++ b/plugins/SendScreenshotPlus/src/dlg_msgbox.cpp
@@ -30,7 +30,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
HICON Skin_GetIcon_SendSS(unsigned short id)
{
- if(id==0xFFFF)
+ if (id == 0xFFFF)
return GetIcon(ICO_MAIN);
return GetIconBtn(id);
}
@@ -260,7 +260,7 @@ static INT_PTR CALLBACK MsgBoxProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM l
}
}
// increase width if info text requires more
- if ((pMsgBox->uType&MB_INFOBAR) && pMsgBox->ptszInfoText && *pMsgBox->ptszInfoText) {
+ if ((pMsgBox->uType & MB_INFOBAR) && pMsgBox->ptszInfoText && *pMsgBox->ptszInfoText) {
int multiline = 0;
RECT rcico; GetClientRect(GetDlgItem(hDlg, ICO_DLGLOGO), &rcico);
rcico.right = rcico.right * 100 / 66; // padding