summaryrefslogtreecommitdiff
path: root/plugins/Quotes/src/DBUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Quotes/src/DBUtils.cpp')
-rw-r--r--plugins/Quotes/src/DBUtils.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Quotes/src/DBUtils.cpp b/plugins/Quotes/src/DBUtils.cpp
index dffcb18c5d..19e8088286 100644
--- a/plugins/Quotes/src/DBUtils.cpp
+++ b/plugins/Quotes/src/DBUtils.cpp
@@ -4,11 +4,11 @@ std::string Quotes_DBGetStringA(MCONTACT hContact, const char* szModule, const c
{
std::string sResult;
char* pszSymbol = db_get_sa(hContact, szModule, szSetting);
- if (NULL != pszSymbol) {
+ if (nullptr != pszSymbol) {
sResult = pszSymbol;
mir_free(pszSymbol);
}
- else if (NULL != pszDefValue)
+ else if (nullptr != pszDefValue)
sResult = pszDefValue;
return sResult;
@@ -18,11 +18,11 @@ std::wstring Quotes_DBGetStringW(MCONTACT hContact, const char* szModule, const
{
std::wstring sResult;
wchar_t* pszSymbol = db_get_wsa(hContact, szModule, szSetting);
- if (NULL != pszSymbol) {
+ if (nullptr != pszSymbol) {
sResult = pszSymbol;
mir_free(pszSymbol);
}
- else if (NULL != pszDefValue)
+ else if (nullptr != pszDefValue)
sResult = pszDefValue;
return sResult;