diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-03 11:37:55 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-03 11:37:55 +0300 |
commit | 845a9ead2de3db6a6b67925399d6b7ec074652dc (patch) | |
tree | c2bd83bba666b43df502c2ecf78441154140ddf0 /plugins | |
parent | 060edd0d612ff8be1dd43284fd5469e6e47e93c6 (diff) |
.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/TabSRMM/src/chat/window.cpp | 3 |
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); } |