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/CSList | |
parent | 30dd1623d85c3f8719b9668bc03b4bda26adc2e9 (diff) |
NULL -> 0
Diffstat (limited to 'plugins/CSList')
-rw-r--r-- | plugins/CSList/src/cslist.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CSList/src/cslist.cpp b/plugins/CSList/src/cslist.cpp index 3782dbb197..127ed4ad26 100644 --- a/plugins/CSList/src/cslist.cpp +++ b/plugins/CSList/src/cslist.cpp @@ -234,14 +234,14 @@ void importCustomStatuses(CSWindow* csw, int result) si->m_iIcon = i - 1; mir_snprintf(bufTitle, "XStatus%dName", i); - if (!db_get_ws(NULL, protoName, bufTitle, &dbv)) { + if (!db_get_ws(0, protoName, bufTitle, &dbv)) { mir_wstrcpy(si->m_tszTitle, dbv.pwszVal); db_free(&dbv); } else si->m_tszTitle[0] = 0; mir_snprintf(bufMessage, "XStatus%dMsg", i); - if (!db_get_ws(NULL, protoName, bufMessage, &dbv)) { + if (!db_get_ws(0, protoName, bufMessage, &dbv)) { mir_wstrcpy(si->m_tszMessage, dbv.pwszVal); db_free(&dbv); } |