diff options
author | George Hazan <ghazan@miranda.im> | 2019-03-28 12:32:45 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-03-28 12:32:53 +0300 |
commit | 7e93d98888a3fdb19fdfdff2167d8679e5116fe5 (patch) | |
tree | d4de566c8c71b38e17202ee09a6784adce96efa4 /plugins/Popup/src/opt_skins.cpp | |
parent | ff316f638e130d9a931e27b75b6ceda4f72c2a60 (diff) |
unused translations removed
Diffstat (limited to 'plugins/Popup/src/opt_skins.cpp')
-rw-r--r-- | plugins/Popup/src/opt_skins.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/plugins/Popup/src/opt_skins.cpp b/plugins/Popup/src/opt_skins.cpp index 810e1f285c..458cf19f6a 100644 --- a/plugins/Popup/src/opt_skins.cpp +++ b/plugins/Popup/src/opt_skins.cpp @@ -30,7 +30,6 @@ INT_PTR CALLBACK BoxPreviewWndProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM void RegisterOptPrevBox()
{
- DWORD err;
WNDCLASSEX wcl;
wcl.cbSize = sizeof(wcl);
wcl.lpfnWndProc = (WNDPROC)BoxPreviewWndProc;
@@ -45,12 +44,6 @@ void RegisterOptPrevBox() wcl.lpszClassName = BOXPREVIEW_WNDCLASS;
wcl.hIconSm = Skin_LoadIcon(SKINICON_OTHER_POPUP);
g_wndClass.cPopupPreviewBoxWndclass = RegisterClassEx(&wcl);
- err = GetLastError();
- if (!g_wndClass.cPopupPreviewBoxWndclass) {
- wchar_t msg[1024];
- mir_snwprintf(msg, TranslateT("Failed to register %s class."), wcl.lpszClassName);
- MSGERROR(msg);
- }
// register custom class for dialog box with drop-shadow attribute
// "#32770" stays for class name of default system dialog box
@@ -59,12 +52,6 @@ void RegisterOptPrevBox() wcl.lpszClassName = L"PopupPlusDlgBox";
wcl.style |= CS_DROPSHADOW;
g_wndClass.cPopupPlusDlgBox = RegisterClassEx(&wcl);
- err = GetLastError();
- if (!g_wndClass.cPopupPlusDlgBox) {
- wchar_t msg[1024];
- mir_snwprintf(msg, TranslateT("Failed to register %s class."), wcl.lpszClassName);
- MSGERROR(msg);
- }
}
static void updatePreviewImage(HWND hwndBox)
|