summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_clistopts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_modern/src/modern_clistopts.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_clistopts.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_modern/src/modern_clistopts.cpp b/plugins/Clist_modern/src/modern_clistopts.cpp
index 0f317ee373..20e6f19089 100644
--- a/plugins/Clist_modern/src/modern_clistopts.cpp
+++ b/plugins/Clist_modern/src/modern_clistopts.cpp
@@ -62,7 +62,7 @@ static INT_PTR CALLBACK DlgProcItemRowOpts(HWND hwndDlg, UINT msg, WPARAM wParam
int type;
int pos = 0;
- mir_snprintf(tmp, SIZEOF(tmp), "RowPos%d", i);
+ mir_snprintf(tmp, "RowPos%d", i);
type = db_get_w(NULL, "CList", tmp, i);
switch (type) {
@@ -207,7 +207,7 @@ static INT_PTR CALLBACK DlgProcItemRowOpts(HWND hwndDlg, UINT msg, WPARAM wParam
HWND hwndList = GetDlgItem(hwndDlg, IDC_LIST_ORDER);
for (int i = 0; i < NUM_ITEM_TYPE; i++) {
char tmp[128];
- mir_snprintf(tmp, SIZEOF(tmp), "RowPos%d", i);
+ mir_snprintf(tmp, "RowPos%d", i);
db_set_w(NULL, "CList", tmp, (WORD)SendMessage(hwndList, LB_GETITEMDATA, i, 0));
}
}