From 37ad7fe43b50662a22ef48c0dedb8e5b57fb3917 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Sch=C3=BCmann?= Date: Tue, 22 Sep 2015 12:25:01 +0000 Subject: 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 --- plugins/SendScreenshotPlus/src/UMainForm.cpp | 9 +++++---- 1 file 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 -- cgit v1.2.3