From c3613732991271db1f1fb6144eac63945e69b3fc Mon Sep 17 00:00:00 2001 From: jackie Date: Sun, 1 Mar 2009 16:38:35 +0800 Subject: [PATCH] Fixed x64 build of TortoiseProc crashed due to received unexpected messages. --- src/TortoiseProc/LogDlg.cpp | 3 --- src/Utils/MiscUI/FilterEdit.h | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/TortoiseProc/LogDlg.cpp b/src/TortoiseProc/LogDlg.cpp index ea58f83..cc09e5e 100644 --- a/src/TortoiseProc/LogDlg.cpp +++ b/src/TortoiseProc/LogDlg.cpp @@ -2147,9 +2147,6 @@ void CLogDlg::SetSplitterRange() LRESULT CLogDlg::OnClickedInfoIcon(WPARAM /*wParam*/, LPARAM lParam) { - // FIXME: x64 version would get this function called with unexpected parameters. - if (!lParam) - return 0; RECT * rect = (LPRECT)lParam; CPoint point; CString temp; diff --git a/src/Utils/MiscUI/FilterEdit.h b/src/Utils/MiscUI/FilterEdit.h index 86008f6..f9dc8eb 100644 --- a/src/Utils/MiscUI/FilterEdit.h +++ b/src/Utils/MiscUI/FilterEdit.h @@ -19,7 +19,7 @@ #pragma once -#define WM_FILTEREDIT_INFOCLICKED (WM_USER + 100) +#define WM_FILTEREDIT_INFOCLICKED (WM_USER + 102) #define WM_FILTEREDIT_CANCELCLICKED (WM_USER + 101) /** -- 2.11.0