diff options
author | George Hazan <ghazan@miranda.im> | 2018-11-12 21:44:56 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-11-12 21:44:56 +0300 |
commit | 53fe3e46177d17b4941610de19f5cc6210700cb4 (patch) | |
tree | b67a6bc208dad141f9db14035cd7e42ff2a51872 /plugins/CSList | |
parent | 488214ac8af0c4aeb1a5c1d8fd48368daaf4c4c7 (diff) |
db_* functions replaced with g_plugin calls
Diffstat (limited to 'plugins/CSList')
-rw-r--r-- | plugins/CSList/src/stdafx.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/CSList/src/stdafx.h b/plugins/CSList/src/stdafx.h index e651bc45b0..cf29d76da1 100644 --- a/plugins/CSList/src/stdafx.h +++ b/plugins/CSList/src/stdafx.h @@ -91,14 +91,14 @@ struct CMPlugin : public PLUGIN<CMPlugin> #define ListView_SetSelectionMark( x, y ) 0
#endif
-#define getByte(setting, error) db_get_b(NULL, MODNAME, setting, error)
-#define setByte(setting, value) db_set_b(NULL, MODNAME, setting, value)
-#define getWord(setting, error) db_get_w(NULL, MODNAME, setting, error)
-#define setWord(setting, value) db_set_w(NULL, MODNAME, setting, value)
-#define getDword(setting, error) db_get_dw(NULL, MODNAME, setting, error)
-#define setDword(setting, value) db_set_dw(NULL, MODNAME, setting, value)
+#define getByte(setting, error) db_get_b(0, MODNAME, setting, error)
+#define setByte(setting, value) db_set_b(0, MODNAME, setting, value)
+#define getWord(setting, error) db_get_w(0, MODNAME, setting, error)
+#define setWord(setting, value) db_set_w(0, MODNAME, setting, value)
+#define getDword(setting, error) db_get_dw(0, MODNAME, setting, error)
+#define setDword(setting, value) db_set_dw(0, MODNAME, setting, value)
#define getWString(setting, dest) db_get_ws(NULL, MODNAME, setting, dest)
-#define setWString(setting, value) db_set_ws(NULL, MODNAME, setting, value)
+#define setWString(setting, value) db_set_ws(0, MODNAME, setting, value)
#define deleteSetting(setting) db_unset(NULL, MODNAME, setting)
// --
|