From 70a6a0e2e744b142f2cfde25c8add33c1f95dc29 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 11 Aug 2015 16:02:24 +0000 Subject: more warning fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@14914 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/FTPFileYM/ftpfile.vcxproj | 1 + plugins/Msg_Export/msg_export.vcxproj | 5 +++++ plugins/NotifyAnything/NotifyAnything.vcxproj | 5 +++++ plugins/RecentContacts/RecentContacts.vcxproj | 5 +++++ plugins/SendScreenshotPlus/SendSS.vcxproj | 5 +++++ plugins/WinterSpeak/WinterSpeak.vcxproj | 3 +++ plugins/YAMN/YAMN.vcxproj | 5 +++++ src/core/stdmsg/src/msgdialog.cpp | 12 +++++------- 8 files changed, 34 insertions(+), 7 deletions(-) diff --git a/plugins/FTPFileYM/ftpfile.vcxproj b/plugins/FTPFileYM/ftpfile.vcxproj index d5b530b582..e1e6250c01 100644 --- a/plugins/FTPFileYM/ftpfile.vcxproj +++ b/plugins/FTPFileYM/ftpfile.vcxproj @@ -37,6 +37,7 @@ + Sync ..\..\libs\libcurl\include\curl\;%(AdditionalIncludeDirectories) diff --git a/plugins/Msg_Export/msg_export.vcxproj b/plugins/Msg_Export/msg_export.vcxproj index 7e73a71330..7aa6599dc4 100644 --- a/plugins/Msg_Export/msg_export.vcxproj +++ b/plugins/Msg_Export/msg_export.vcxproj @@ -25,4 +25,9 @@ + + + Sync + + \ No newline at end of file diff --git a/plugins/NotifyAnything/NotifyAnything.vcxproj b/plugins/NotifyAnything/NotifyAnything.vcxproj index 89341aebd6..5ff99216cb 100644 --- a/plugins/NotifyAnything/NotifyAnything.vcxproj +++ b/plugins/NotifyAnything/NotifyAnything.vcxproj @@ -25,4 +25,9 @@ + + + Sync + + \ No newline at end of file diff --git a/plugins/RecentContacts/RecentContacts.vcxproj b/plugins/RecentContacts/RecentContacts.vcxproj index 74d8195d1d..12dc45ea5b 100644 --- a/plugins/RecentContacts/RecentContacts.vcxproj +++ b/plugins/RecentContacts/RecentContacts.vcxproj @@ -25,4 +25,9 @@ + + + Sync + + \ No newline at end of file diff --git a/plugins/SendScreenshotPlus/SendSS.vcxproj b/plugins/SendScreenshotPlus/SendSS.vcxproj index 41c5f28c32..888122204d 100644 --- a/plugins/SendScreenshotPlus/SendSS.vcxproj +++ b/plugins/SendScreenshotPlus/SendSS.vcxproj @@ -25,4 +25,9 @@ + + + Sync + + \ No newline at end of file diff --git a/plugins/WinterSpeak/WinterSpeak.vcxproj b/plugins/WinterSpeak/WinterSpeak.vcxproj index 632327d8a1..2a074c346b 100644 --- a/plugins/WinterSpeak/WinterSpeak.vcxproj +++ b/plugins/WinterSpeak/WinterSpeak.vcxproj @@ -26,6 +26,9 @@ + + Sync + spchwrap.lib;%(AdditionalDependencies) src\SAPI 4.0\Lib;$(CommonLibDir) diff --git a/plugins/YAMN/YAMN.vcxproj b/plugins/YAMN/YAMN.vcxproj index cb1c0191da..e564e8e96c 100644 --- a/plugins/YAMN/YAMN.vcxproj +++ b/plugins/YAMN/YAMN.vcxproj @@ -25,6 +25,11 @@ + + + Sync + + ..\stdafx.h diff --git a/src/core/stdmsg/src/msgdialog.cpp b/src/core/stdmsg/src/msgdialog.cpp index f91bafb564..4a84a67281 100644 --- a/src/core/stdmsg/src/msgdialog.cpp +++ b/src/core/stdmsg/src/msgdialog.cpp @@ -441,18 +441,16 @@ static LRESULT CALLBACK MessageEditSubclassProc(HWND hwnd, UINT msg, WPARAM wPar static LRESULT CALLBACK SplitterSubclassProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) { - SrmmWindowData *pdat = (SrmmWindowData *)GetWindowLongPtr(GetParent(hwnd), GWLP_USERDATA); - switch (msg) { case WM_NCHITTEST: return HTCLIENT; case WM_SETCURSOR: - { - RECT rc; - GetClientRect(hwnd, &rc); - SetCursor(rc.right > rc.bottom ? hCurSplitNS : hCurSplitWE); - } + { + RECT rc; + GetClientRect(hwnd, &rc); + SetCursor(rc.right > rc.bottom ? hCurSplitNS : hCurSplitWE); + } return TRUE; case WM_LBUTTONDOWN: -- cgit v1.2.3