summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/TabSRMM/src/chat/window.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/chat/window.cpp b/plugins/TabSRMM/src/chat/window.cpp
index 662acaa6e4..dbacffea65 100644
--- a/plugins/TabSRMM/src/chat/window.cpp
+++ b/plugins/TabSRMM/src/chat/window.cpp
@@ -2994,10 +2994,9 @@ LABEL_SHOWWINDOW:
if (iSelection >= IDM_CONTAINERMENU) {
DBVARIANT dbv = { 0 };
char szIndex[10];
- char *szKey = "TAB_ContainersW";
mir_snprintf(szIndex, "%d", iSelection - IDM_CONTAINERMENU);
if (iSelection - IDM_CONTAINERMENU >= 0) {
- if (!db_get_ws(NULL, szKey, szIndex, &dbv)) {
+ if (!db_get_ws(NULL, "TAB_ContainersW", szIndex, &dbv)) {
SendMessage(m_hwnd, DM_CONTAINERSELECTED, 0, (LPARAM)dbv.ptszVal);
db_free(&dbv);
}