summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus/src/UMainForm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SendScreenshotPlus/src/UMainForm.cpp')
-rw-r--r--plugins/SendScreenshotPlus/src/UMainForm.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/SendScreenshotPlus/src/UMainForm.cpp b/plugins/SendScreenshotPlus/src/UMainForm.cpp
index 217cc19f08..b7ccde171b 100644
--- a/plugins/SendScreenshotPlus/src/UMainForm.cpp
+++ b/plugins/SendScreenshotPlus/src/UMainForm.cpp
@@ -939,7 +939,10 @@ INT_PTR TfrmMain::SaveScreenshot(FIBITMAP* dib) {
mir_tcsadd(pszFileDesc, TranslateT("of \""));
GetDlgItemText(m_hwndTabPage, ID_edtCaption, winText, 1024);
mir_tcsadd(pszFileDesc, winText);
- mir_tcsadd(pszFileDesc, TranslateT("\" Window"));
+ if(m_opt_tabCapture==1)
+ mir_tcsadd(pszFileDesc, TranslateT("\""));
+ else
+ mir_tcsadd(pszFileDesc, TranslateT("\" Window"));
// convert to 32Bits (make shure it is 32bit)
FIBITMAP *dib_new = FIP->FI_ConvertTo32Bits(dib);