diff options
author | George Hazan <ghazan@miranda.im> | 2023-02-21 17:09:34 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2023-02-21 17:09:34 +0300 |
commit | 12aa166ab2c280b1b8cf4d8507512c750a587de1 (patch) | |
tree | d86aaa3dd022a13e7c9e77b7db468ad260bdf634 /src/core/stdfile | |
parent | 4d2f4fab80174f6ab5e730b62fdf7abda015768b (diff) |
code cleaning
Diffstat (limited to 'src/core/stdfile')
-rw-r--r-- | src/core/stdfile/src/ftmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/stdfile/src/ftmanager.cpp b/src/core/stdfile/src/ftmanager.cpp index 56b0a168a7..10f4215c63 100644 --- a/src/core/stdfile/src/ftmanager.cpp +++ b/src/core/stdfile/src/ftmanager.cpp @@ -143,7 +143,7 @@ static INT_PTR CALLBACK FtMgrPageDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPA case WM_FT_REMOVE:
for (auto &it : dat->arWindows)
if (it->hwnd == (HWND)lParam) {
- dat->arWindows.remove(dat->arWindows.indexOf(&it));
+ dat->arWindows.removeItem(&it);
break;
}
LayoutTransfers(hwnd, dat);
|