diff options
author | Iru Cai <mytbk920423@gmail.com> | 2018-09-09 22:34:45 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2018-09-09 22:34:52 +0800 |
commit | 778bb68cd50b3b98101ddbcb6a705592748f13cb (patch) | |
tree | 4db2ea8962ff2b616936d986c69cb6c0b5cab991 | |
parent | 793f4edb3e7733b2ceb22ddb7a621ab9cf7a3981 (diff) | |
download | rich4-778bb68cd50b3b98101ddbcb6a705592748f13cb.tar.xz |
use known fcn_00402460 function name
-rw-r--r-- | csrc/cards_ui.c | 6 | ||||
-rw-r--r-- | 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; } |