summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorRené Schümann <white06tiger@gmail.com>2015-09-22 12:25:01 +0000
committerRené Schümann <white06tiger@gmail.com>2015-09-22 12:25:01 +0000
commit37ad7fe43b50662a22ef48c0dedb8e5b57fb3917 (patch)
treeef5ecb5c523d697fae4e2e592e3e09b26475a69e /plugins
parent5a5a0265a25e063ae560adbf83042e01d0ce1941 (diff)
Revert "SendSS: Translations"
This reverts commit cb7af38 ( r15403 ) and fixes one of multiple bugs recently introduced. One still lies in 9ade119 ( r15419 ) for example. (refer to CSendHTTPServer.cpp) (one shouldn't mess with code he doesn't yet understand, or software he doesn't actually use. Hint: some people got more than one monitor) git-svn-id: http://svn.miranda-ng.org/main/trunk@15422 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/SendScreenshotPlus/src/UMainForm.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/SendScreenshotPlus/src/UMainForm.cpp b/plugins/SendScreenshotPlus/src/UMainForm.cpp
index eccc357e9b..2be98f8a58 100644
--- a/plugins/SendScreenshotPlus/src/UMainForm.cpp
+++ b/plugins/SendScreenshotPlus/src/UMainForm.cpp
@@ -984,15 +984,16 @@ INT_PTR TfrmMain::SaveScreenshot(FIBITMAP* dib)
//Generate a description according to the screenshot
+ TCHAR winText[1024];
+ GetDlgItemText(m_hwndTabPage, ID_edtCaption, winText, _countof(winText));
+
+
CMString tszFileDesc;
if (m_opt_tabCapture)
- tszFileDesc.Format(TranslateT("Screenshot of entire desktop"));
+ tszFileDesc.Format(TranslateT("Screenshot of \"%s\""), winText);
else
{
- TCHAR winText[1024];
- GetDlgItemText(m_hwndTabPage, ID_edtCaption, winText, _countof(winText));
-
if (m_opt_chkClientArea)
tszFileDesc.Format(TranslateT("Screenshot for client area of \"%s\" window"), winText);
else