diff options
author | George Hazan <george.hazan@gmail.com> | 2016-07-27 11:50:07 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-07-27 11:50:07 +0000 |
commit | ddd1af0fdf37364c9472faedad941b4cc5f1b465 (patch) | |
tree | d4eb46f481a47b6e16e40b39860e830e40f9dbcf /plugins/Alarms | |
parent | cc3be4384048697fe9b7716c11b7bd726b9ca650 (diff) |
<tchar.h> removed from <m_system.h>
git-svn-id: http://svn.miranda-ng.org/main/trunk@17136 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Alarms')
-rw-r--r-- | plugins/Alarms/src/frame.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Alarms/src/frame.cpp b/plugins/Alarms/src/frame.cpp index a010c5b19d..15f0fd185f 100644 --- a/plugins/Alarms/src/frame.cpp +++ b/plugins/Alarms/src/frame.cpp @@ -227,7 +227,7 @@ LRESULT CALLBACK FrameWindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPar if (options.auto_size_vert && IsWindowVisible(hwnd)) {
if (FrameIsFloating()) {
int height = height_client_to_frame(itemheight * count, GetWindowLongPtr(GetParent(hwnd), GWL_STYLE), GetWindowLongPtr(GetParent(hwnd), GWL_EXSTYLE));
- HWND titleBarHwnd = FindWindowEx(GetParent(hwnd), 0, _T(CLUIFrameTitleBarClassName), 0);
+ HWND titleBarHwnd = FindWindowEx(GetParent(hwnd), 0, _A2W(CLUIFrameTitleBarClassName), 0);
if (titleBarHwnd) {
RECT tbr;
GetWindowRect(titleBarHwnd, &tbr);
|