diff options
author | George Hazan <ghazan@miranda.im> | 2018-11-12 23:51:06 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-11-12 23:51:06 +0300 |
commit | f4ae133ee3ba85c3ee2387cae24aaf25a6ae5c74 (patch) | |
tree | 889405636cb8e16187aed9ba8a44406aaef1ef17 /plugins/SmileyAdd | |
parent | 30dd1623d85c3f8719b9668bc03b4bda26adc2e9 (diff) |
NULL -> 0
Diffstat (limited to 'plugins/SmileyAdd')
-rw-r--r-- | plugins/SmileyAdd/src/options.cpp | 2 | ||||
-rw-r--r-- | plugins/SmileyAdd/src/services.cpp | 2 | ||||
-rw-r--r-- | plugins/SmileyAdd/src/smileys.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/SmileyAdd/src/options.cpp b/plugins/SmileyAdd/src/options.cpp index 0ba2f7e92b..799c9284e8 100644 --- a/plugins/SmileyAdd/src/options.cpp +++ b/plugins/SmileyAdd/src/options.cpp @@ -277,7 +277,7 @@ void OptionsDialogType::UpdateVisibleSmPackList(void) CMStringW PhysProtoName = L"AllProto";
CMStringW ProtoName = it->GetName();
DBVARIANT dbv;
- if (db_get_ws(NULL, _T2A(ProtoName.GetBuffer()), "AM_BaseProto", &dbv) == 0) {
+ if (db_get_ws(0, _T2A(ProtoName.GetBuffer()), "AM_BaseProto", &dbv) == 0) {
ProtoName = dbv.pwszVal;
db_free(&dbv);
}
diff --git a/plugins/SmileyAdd/src/services.cpp b/plugins/SmileyAdd/src/services.cpp index 6e9a38f698..5d2ec28a5b 100644 --- a/plugins/SmileyAdd/src/services.cpp +++ b/plugins/SmileyAdd/src/services.cpp @@ -50,7 +50,7 @@ SmileyPackType* GetSmileyPack(const char *proto, MCONTACT hContact, SmileyPackCT categoryName = dbv.pwszVal;
db_free(&dbv);
}
- else if (opt.UsePhysProto && db_get_ws(NULL, protonam, "AM_BaseProto", &dbv) == 0) {
+ else if (opt.UsePhysProto && db_get_ws(0, protonam, "AM_BaseProto", &dbv) == 0) {
categoryName = L"AllProto";
categoryName += dbv.pwszVal;
db_free(&dbv);
diff --git a/plugins/SmileyAdd/src/smileys.cpp b/plugins/SmileyAdd/src/smileys.cpp index 1034a37b51..ea5f10da76 100644 --- a/plugins/SmileyAdd/src/smileys.cpp +++ b/plugins/SmileyAdd/src/smileys.cpp @@ -792,7 +792,7 @@ void SmileyCategoryListType::AddAccountAsCategory(PROTOACCOUNT *acc, const CMStr CMStringW PhysProtoName, paths; DBVARIANT dbv; - if (db_get_ws(NULL, acc->szModuleName, "AM_BaseProto", &dbv) == 0) { + if (db_get_ws(0, acc->szModuleName, "AM_BaseProto", &dbv) == 0) { PhysProtoName = L"AllProto"; PhysProtoName += dbv.pwszVal; db_free(&dbv); |