diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-08-18 19:02:28 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-08-18 19:02:28 +0000 |
commit | 6440934f69bcf910042b47e0aad62c4a7b26c3de (patch) | |
tree | 0731998e9f661b87e39d8420e9936db0ce4b444c | |
parent | c5a9bf1c331dab3e9a31abb1f9e5687fb280bf64 (diff) |
Toaster: minor fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@14991 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | plugins/Toaster/src/main.cpp | 2 | ||||
-rw-r--r-- | plugins/Toaster/src/toast_notification.cpp | 2 | ||||
-rw-r--r-- | plugins/Toaster/src/toast_notification.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Toaster/src/main.cpp b/plugins/Toaster/src/main.cpp index c5cf1d04ca..5158940d1b 100644 --- a/plugins/Toaster/src/main.cpp +++ b/plugins/Toaster/src/main.cpp @@ -32,7 +32,7 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD) if (IsWinVer8Plus())
return &pluginInfo;
- MessageBox(NULL, _T(MODULE" supports Windows 8 or higher"), _T(MODULE), MB_OK | MB_ICONERROR);
+ MessageBox(NULL, TranslateT("This plugin only supports Windows 8 or higher"), _T(MODULE), MB_OK | MB_ICONERROR);
return NULL;
}
diff --git a/plugins/Toaster/src/toast_notification.cpp b/plugins/Toaster/src/toast_notification.cpp index 3430b404e0..9e3ad1b915 100644 --- a/plugins/Toaster/src/toast_notification.cpp +++ b/plugins/Toaster/src/toast_notification.cpp @@ -1,6 +1,6 @@ #include "stdafx.h"
-ToastNotification::ToastNotification(_In_ wchar_t* text, _In_ wchar_t* caption, _In_ wchar_t* imagePath) throw()
+ToastNotification::ToastNotification(_In_ wchar_t* text, _In_ wchar_t* caption, _In_ wchar_t* imagePath)
: _text(text), _caption(caption), _imagePath(imagePath)
{
diff --git a/plugins/Toaster/src/toast_notification.h b/plugins/Toaster/src/toast_notification.h index 2a3d438c74..727966ac8f 100644 --- a/plugins/Toaster/src/toast_notification.h +++ b/plugins/Toaster/src/toast_notification.h @@ -21,7 +21,7 @@ public: COLORREF background;
COLORREF foreground;
- ToastNotification(_In_ wchar_t* text, _In_ wchar_t* caption = nullptr, _In_ wchar_t* imagePath = nullptr) throw();
+ ToastNotification(_In_ wchar_t* text, _In_ wchar_t* caption = nullptr, _In_ wchar_t* imagePath = nullptr);
~ToastNotification();
HRESULT Show();
|