From 778bb68cd50b3b98101ddbcb6a705592748f13cb Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Sun, 9 Sep 2018 22:34:45 +0800 Subject: use known fcn_00402460 function name --- csrc/cards_ui.c | 6 +++--- csrc/tools_ui.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/csrc/cards_ui.c b/csrc/cards_ui.c index 49cfd49..5d9abb5 100644 --- a/csrc/cards_ui.c +++ b/csrc/cards_ui.c @@ -82,19 +82,19 @@ LRESULT CALLBACK cardProc(HWND hWnd, UINT message, WPARAM wp, LPARAM lp) if (selected_card == 0) return 0; fcn.00451d4e(); - fcn.00402460(0); + fcn_00402460(0); Post_0402_Message(selected_card); return 0; } if (message >= 0x205) { if (message == WM_RBUTTONUP) { - fcn.00402460(0); + fcn_00402460(0); Post_0402_Message(0); return 0; } if (message == 0x401) { selected_card = 0; - fcn.00402460(1); + fcn_00402460(1); InvalidateRect(hWnd, NULL, FALSE); return 0; } diff --git a/csrc/tools_ui.c b/csrc/tools_ui.c index a580b7e..a397374 100644 --- a/csrc/tools_ui.c +++ b/csrc/tools_ui.c @@ -50,14 +50,14 @@ LRESULT CALLBACK toolsProc(HWND hWnd, UINT message, WPARAM wp, LPARAM lp) if (selected_tool == 0) return 0; fcn.00451d4e(); - fcn.00402460(0); + fcn_00402460(0); Post_0402_Message(selected_tool); return 0; } if (message < 0x205) { return DefWindowProcA(hWnd, message, wp, lp); } else if (message == 0x205) { - fcn.00402460(0); + fcn_00402460(0); Post_0402_Message(0); return 0; } -- cgit v1.2.3