summaryrefslogtreecommitdiff
path: root/plugins/Cln_skinedit
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-07-20 13:30:27 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-07-20 13:30:27 +0300
commitb887fece8cb12f2b853352d12926175751249baa (patch)
tree44850d83e1778b307c7623fa664aebbb438062be /plugins/Cln_skinedit
parent8314a38acf2afe72c38a4ffb0a3d2f09baa476c1 (diff)
minor code cleaning
Diffstat (limited to 'plugins/Cln_skinedit')
-rw-r--r--plugins/Cln_skinedit/src/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Cln_skinedit/src/main.cpp b/plugins/Cln_skinedit/src/main.cpp
index 6f7c76632c..259168e81e 100644
--- a/plugins/Cln_skinedit/src/main.cpp
+++ b/plugins/Cln_skinedit/src/main.cpp
@@ -879,14 +879,14 @@ static INT_PTR SkinEdit_Invoke(WPARAM, LPARAM lParam)
if (psd->cbSize != sizeof(SKINDESCRIPTION))
return 0;
- iTabs = TabCtrl_GetItemCount(psd->hWndTab);
- GetClientRect(psd->hWndParent, &rcClient);
+ iTabs = TabCtrl_GetItemCount(psd->hwndTab);
+ GetClientRect(psd->hwndParent, &rcClient);
tci.mask = TCIF_PARAM | TCIF_TEXT;
- tci.lParam = (LPARAM)CreateDialogParam(g_plugin.getInst(), MAKEINTRESOURCE(IDD_SKINITEMEDIT), psd->hWndParent, SkinEdit_ExtBkDlgProc, (LPARAM)psd);
+ tci.lParam = (LPARAM)CreateDialogParam(g_plugin.getInst(), MAKEINTRESOURCE(IDD_SKINITEMEDIT), psd->hwndParent, SkinEdit_ExtBkDlgProc, (LPARAM)psd);
tci.pszText = TranslateT("Skin items");
- TabCtrl_InsertItem(psd->hWndTab, iTabs++, &tci);
+ TabCtrl_InsertItem(psd->hwndTab, iTabs++, &tci);
MoveWindow((HWND)tci.lParam, 5, 25, rcClient.right - 9, rcClient.bottom - 60, 1);
psd->hwndSkinEdit = (HWND)tci.lParam;
return (INT_PTR)psd->hwndSkinEdit;