summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/SendScreenshotPlus/src/UMainForm.cpp15
1 files changed, 10 insertions, 5 deletions
diff --git a/plugins/SendScreenshotPlus/src/UMainForm.cpp b/plugins/SendScreenshotPlus/src/UMainForm.cpp
index 517d3620be..a6295cdc8b 100644
--- a/plugins/SendScreenshotPlus/src/UMainForm.cpp
+++ b/plugins/SendScreenshotPlus/src/UMainForm.cpp
@@ -989,11 +989,16 @@ INT_PTR TfrmMain::SaveScreenshot(FIBITMAP* dib)
CMString tszFileDesc;
-
- if (!m_opt_tabCapture && m_opt_chkClientArea)
- tszFileDesc.Format(TranslateT("Screenshot for Client area of \"%s\""), winText);
- else
- tszFileDesc.Format(TranslateT("Screenshot of \"%s\" window"), winText);
+
+ if (m_opt_tabCapture)
+ tszFileDesc.Format(TranslateT("Screenshot of \"%s\""), winText);
+ else
+ {
+ if (m_opt_chkClientArea)
+ tszFileDesc.Format(TranslateT("Screenshot for Client area of \"%s\" window"), winText);
+ else
+ tszFileDesc.Format(TranslateT("Screenshot of \"%s\" window"), winText);
+ }
pszFileDesc = tszFileDesc.Detach();