From 845a9ead2de3db6a6b67925399d6b7ec074652dc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 3 Mar 2017 11:37:55 +0300 Subject: . --- plugins/TabSRMM/src/chat/window.cpp | 3 +-- 1 file changed, 1 insertion(+), 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); } -- cgit v1.2.3