diff options
Diffstat (limited to 'plugins/Msg_Export/src')
| -rwxr-xr-x | plugins/Msg_Export/src/FileViewer.cpp | 2 | ||||
| -rwxr-xr-x | plugins/Msg_Export/src/Glob.h | 1 | ||||
| -rwxr-xr-x | plugins/Msg_Export/src/options.cpp | 4 | 
3 files changed, 3 insertions, 4 deletions
diff --git a/plugins/Msg_Export/src/FileViewer.cpp b/plugins/Msg_Export/src/FileViewer.cpp index bd8e0cdfde..c17b1c5a75 100755 --- a/plugins/Msg_Export/src/FileViewer.cpp +++ b/plugins/Msg_Export/src/FileViewer.cpp @@ -771,7 +771,7 @@ LRESULT CALLBACK EditSubclassProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPa  	{
  		HMENU nMenu = LoadMenu(hInstance, MAKEINTRESOURCE(IDR_FV_EDIT));
  		HMENU nSubMenu = GetSubMenu(nMenu, 0);
 -		POINT pt = { (short)LOWORD(lParam), (short)HIWORD(lParam) };
 +		POINT pt = { GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam) };
  		if (pt.x == -1 && pt.y == -1) {
  			DWORD dwStart, dwEnd;
 diff --git a/plugins/Msg_Export/src/Glob.h b/plugins/Msg_Export/src/Glob.h index 5b2d9baaa4..e63481959f 100755 --- a/plugins/Msg_Export/src/Glob.h +++ b/plugins/Msg_Export/src/Glob.h @@ -22,6 +22,7 @@  #define _CRT_SECURE_NO_WARNINGS
  #include <Windows.h>
 +#include <windowsx.h>
  #include <Richedit.h>
  using namespace std;
  #include <Shlobj.h>
 diff --git a/plugins/Msg_Export/src/options.cpp b/plugins/Msg_Export/src/options.cpp index 50b41fc0cf..299ff0b2dd 100755 --- a/plugins/Msg_Export/src/options.cpp +++ b/plugins/Msg_Export/src/options.cpp @@ -983,9 +983,7 @@ static INT_PTR CALLBACK DlgProcMsgExportOpts(HWND hwndDlg, UINT msg, WPARAM wPar  		{
  			HMENU hMenu = GetSubMenu(hMainMenu, 0);
 -			POINT pt;
 -			pt.x = (short)LOWORD(lParam);
 -			pt.y = (short)HIWORD(lParam);
 +			POINT pt = { GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam) };
  			if (pt.x == -1 && pt.y == -1)
  			{
  				HWND hMapUser = GetDlgItem(hwndDlg, IDC_MAP_USER_LIST);
  | 
