OSDN Git Service

Fixed x64 build of TortoiseProc crashed due to received unexpected messages.
authorjackie <jackie@gmail.com>
Sun, 1 Mar 2009 08:38:35 +0000 (16:38 +0800)
committerjackie <jackie@gmail.com>
Sun, 1 Mar 2009 08:38:35 +0000 (16:38 +0800)
src/TortoiseProc/LogDlg.cpp
src/Utils/MiscUI/FilterEdit.h

index ea58f83..cc09e5e 100644 (file)
@@ -2147,9 +2147,6 @@ void CLogDlg::SetSplitterRange()
 \r
 LRESULT CLogDlg::OnClickedInfoIcon(WPARAM /*wParam*/, LPARAM lParam)\r
 {\r
 \r
 LRESULT CLogDlg::OnClickedInfoIcon(WPARAM /*wParam*/, LPARAM lParam)\r
 {\r
-       // FIXME: x64 version would get this function called with unexpected parameters.\r
-       if (!lParam)\r
-               return 0;\r
        RECT * rect = (LPRECT)lParam;\r
        CPoint point;\r
        CString temp;\r
        RECT * rect = (LPRECT)lParam;\r
        CPoint point;\r
        CString temp;\r
index 86008f6..f9dc8eb 100644 (file)
@@ -19,7 +19,7 @@
 #pragma once\r
 \r
 \r
 #pragma once\r
 \r
 \r
-#define WM_FILTEREDIT_INFOCLICKED      (WM_USER + 100)\r
+#define WM_FILTEREDIT_INFOCLICKED      (WM_USER + 102)\r
 #define WM_FILTEREDIT_CANCELCLICKED    (WM_USER + 101)\r
 \r
 /**\r
 #define WM_FILTEREDIT_CANCELCLICKED    (WM_USER + 101)\r
 \r
 /**\r