summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus/src/UMainForm.cpp
diff options
context:
space:
mode:
authorRené Schümann <white06tiger@gmail.com>2014-12-25 00:43:56 +0000
committerRené Schümann <white06tiger@gmail.com>2014-12-25 00:43:56 +0000
commit881e3afbf2a31a23abd90870f6e64b5ae59d7788 (patch)
tree09a88a42c37f8b5a08fce15b1b54a901677e7c49 /plugins/SendScreenshotPlus/src/UMainForm.cpp
parentbccb121518429a0ef062b346d36551bd2ace5da2 (diff)
SendSS:
* improved some user interaction messages and unified spelling ("Screenshot" now lowercase, "Send Screenshot" now called "SendSS") * also updated version in case I won't be able to finish v0.9.0 with improved transparency capture support Note: translations must be updated of course :P So LPGen required git-svn-id: http://svn.miranda-ng.org/main/trunk@11620 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SendScreenshotPlus/src/UMainForm.cpp')
-rw-r--r--plugins/SendScreenshotPlus/src/UMainForm.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/plugins/SendScreenshotPlus/src/UMainForm.cpp b/plugins/SendScreenshotPlus/src/UMainForm.cpp
index 184890fa96..b62ebb58d3 100644
--- a/plugins/SendScreenshotPlus/src/UMainForm.cpp
+++ b/plugins/SendScreenshotPlus/src/UMainForm.cpp
@@ -644,8 +644,8 @@ void TfrmMain::UMevent(WPARAM wParam, LPARAM lParam) {
switch (lParam) {
case EVT_CaptureDone:
if (!m_Screenshot && m_opt_tabCapture!=2) {
- TCHAR *err = TranslateT("Can't create a Screenshot");
- MessageBox(m_hWnd,err,ERROR_TITLE,MB_OK|MB_ICONWARNING);
+ TCHAR *err = TranslateT("Couldn't take a screenshot");
+ MessageBox(NULL,err,ERROR_TITLE,MB_OK|MB_ICONWARNING);
Show();
return;
}
@@ -654,14 +654,13 @@ void TfrmMain::UMevent(WPARAM wParam, LPARAM lParam) {
case EVT_SendFileDone:
break;
case EVT_CheckOpenAgain:
- if (m_opt_chkOpenAgain) {
- if (m_Screenshot) {
+ if(m_opt_chkOpenAgain){
+ if(m_Screenshot){
FIP->FI_Unload(m_Screenshot);
m_Screenshot = NULL;
}
Show();
- }else{
- // Saving Options and close
+ }else{// Saving Options and close
SaveOptions();
Close();
}