diff options
Diffstat (limited to 'src/core/stdemail')
-rw-r--r-- | src/core/stdemail/src/email.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/stdemail/src/email.cpp b/src/core/stdemail/src/email.cpp index a5f36e95ea..66f42ce61d 100644 --- a/src/core/stdemail/src/email.cpp +++ b/src/core/stdemail/src/email.cpp @@ -27,7 +27,7 @@ static HGENMENU hEMailMenuItem; void SendEmailThread(void *szUrl)
{
- ShellExecuteA(NULL, "open", (char*)szUrl, "", "", SW_SHOW);
+ ShellExecuteA(nullptr, "open", (char*)szUrl, "", "", SW_SHOW);
mir_free(szUrl);
return;
}
@@ -36,7 +36,7 @@ static INT_PTR SendEMailCommand(WPARAM hContact, LPARAM lParam) {
DBVARIANT dbv;
char *szProto = GetContactProto(hContact);
- if (szProto == NULL || db_get_s(hContact, szProto, "e-mail", &dbv)) {
+ if (szProto == nullptr || db_get_s(hContact, szProto, "e-mail", &dbv)) {
if (db_get_s(hContact, "UserInfo", "Mye-mail0", &dbv)) {
MessageBox((HWND)lParam, TranslateT("User has not registered an e-mail address"), TranslateT("Send e-mail"), MB_OK);
return 1;
@@ -55,7 +55,7 @@ static int EMailPreBuildMenu(WPARAM hContact, LPARAM) bool bEnabled = true;
DBVARIANT dbv = { 0 };
char *szProto = GetContactProto(hContact);
- if (szProto == NULL || db_get_s(hContact, szProto, "e-mail", &dbv))
+ if (szProto == nullptr || db_get_s(hContact, szProto, "e-mail", &dbv))
if (db_get_s(hContact, "UserInfo", "Mye-mail0", &dbv))
bEnabled = false;
|