diff options
author | George Hazan <ghazan@miranda.im> | 2018-11-14 18:24:56 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-11-14 18:24:56 +0300 |
commit | 68d6271552d4b9bdb27efda50c457f0d56b23457 (patch) | |
tree | 0221f56a8545815514eb3350afe92a2d0262251b /plugins/XSoundNotify/src | |
parent | 64e3214c2222543350f51b517a6b75b6b02b81cf (diff) |
other minor code cleaning considering g_plugin
Diffstat (limited to 'plugins/XSoundNotify/src')
-rw-r--r-- | plugins/XSoundNotify/src/options.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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);
|