From 68d6271552d4b9bdb27efda50c457f0d56b23457 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 14 Nov 2018 18:24:56 +0300 Subject: other minor code cleaning considering g_plugin --- plugins/XSoundNotify/src/options.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/XSoundNotify/src') diff --git a/plugins/XSoundNotify/src/options.cpp b/plugins/XSoundNotify/src/options.cpp index 957816a898..420599f6ef 100644 --- a/plugins/XSoundNotify/src/options.cpp +++ b/plugins/XSoundNotify/src/options.cpp @@ -320,12 +320,12 @@ static INT_PTR CALLBACK OptsProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM l wchar_t shortpath[MAX_PATH]; PathToRelativeW(it->path, shortpath); if (it->iscontact) - db_set_ws(it->hContact, MODULENAME, SETTINGSKEY, shortpath); + g_plugin.setWString(it->hContact, SETTINGSKEY, shortpath); else g_plugin.setWString((LPCSTR)it->hContact, shortpath); } if (it->iscontact) - db_set_b(it->hContact, MODULENAME, SETTINGSIGNOREKEY, it->ignore); + g_plugin.setByte(it->hContact, SETTINGSIGNOREKEY, it->ignore); else { size_t value_max_len = mir_strlen((const char*)it->hContact) + 8; char *value = (char *)mir_alloc(sizeof(char) * value_max_len); -- cgit v1.2.3