From ddd1af0fdf37364c9472faedad941b4cc5f1b465 Mon Sep 17 00:00:00 2001
From: George Hazan <george.hazan@gmail.com>
Date: Wed, 27 Jul 2016 11:50:07 +0000
Subject: <tchar.h> removed from <m_system.h>

git-svn-id: http://svn.miranda-ng.org/main/trunk@17136 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
---
 plugins/YAPP/src/message_pump.cpp | 1 -
 plugins/YAPP/src/popwin.h         | 2 +-
 plugins/YAPP/src/stdafx.h         | 2 +-
 3 files changed, 2 insertions(+), 3 deletions(-)

(limited to 'plugins/YAPP')

diff --git a/plugins/YAPP/src/message_pump.cpp b/plugins/YAPP/src/message_pump.cpp
index 000144acc3..ea3e0b3197 100644
--- a/plugins/YAPP/src/message_pump.cpp
+++ b/plugins/YAPP/src/message_pump.cpp
@@ -30,7 +30,6 @@ unsigned __stdcall MessagePumpThread(void* param)
 
 				PopupData *pd = (PopupData*)hwndMsg.lParam;
 				if (enabled && num_popups < MAX_POPUPS) {
-					//HWND hwnd = CreateWindowEx(WS_EX_TOOLWINDOW | WS_EX_TOPMOST, POP_WIN_CLASS, L"Popup", WS_POPUP, 0, 0, 0, 0, GetDesktopWindow(), 0, hInst, (LPVOID)hwndMsg.lParam);
 					HWND hwnd = CreateWindowEx(WS_EX_TOOLWINDOW | WS_EX_TOPMOST, POP_WIN_CLASS, L"Popup", WS_POPUP, 0, 0, 0, 0, 0, 0, hInst, (LPVOID)hwndMsg.lParam);
 					num_popups++;
 					if (hwndMsg.wParam) // set notifyer handle
diff --git a/plugins/YAPP/src/popwin.h b/plugins/YAPP/src/popwin.h
index 4087ffb322..8248592814 100644
--- a/plugins/YAPP/src/popwin.h
+++ b/plugins/YAPP/src/popwin.h
@@ -1,7 +1,7 @@
 #ifndef _POPWIN_INC
 #define _POPWIN_INC
 
-#define POP_WIN_CLASS        _T(MODULE) L"YAPPWindowClass"
+#define POP_WIN_CLASS        _A2W(MODULE) L"YAPPWindowClass"
 
 #define PUM_SETTEXT          (WM_USER + 0x020)
 #define PUM_GETCONTACT       (WM_USER + 0x021)
diff --git a/plugins/YAPP/src/stdafx.h b/plugins/YAPP/src/stdafx.h
index f702b2b0e1..704cb11db0 100644
--- a/plugins/YAPP/src/stdafx.h
+++ b/plugins/YAPP/src/stdafx.h
@@ -40,7 +40,7 @@
 #include "yapp_history.h"
 #include "icons.h"
 
-#define MODULE			"YAPP"
+#define MODULE "YAPP"
 
 extern HMODULE  hInst;
 extern bool     bShutdown;
-- 
cgit v1.2.3