From 1c0172cca4f1e90679321912e20436a7f42f122d Mon Sep 17 00:00:00 2001 From: Goraf <22941576+Goraf@users.noreply.github.com> Date: Sat, 24 Feb 2018 15:32:06 +0100 Subject: more nullptr --- plugins/TabSRMM/src/utils.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/TabSRMM/src/utils.h') diff --git a/plugins/TabSRMM/src/utils.h b/plugins/TabSRMM/src/utils.h index 5b3bf33b18..229c379285 100644 --- a/plugins/TabSRMM/src/utils.h +++ b/plugins/TabSRMM/src/utils.h @@ -57,8 +57,8 @@ public: static void DoubleAmpersands(wchar_t *pszText, size_t len); static void RTF_CTableInit(); static void RTF_ColorAdd(const wchar_t *tszColname); - static int ReadContainerSettingsFromDB(const MCONTACT hContact, TContainerSettings *cs, const char *szKey = 0); - static int WriteContainerSettingsToDB(const MCONTACT hContact, TContainerSettings *cs, const char *szKey = 0); + static int ReadContainerSettingsFromDB(const MCONTACT hContact, TContainerSettings *cs, const char *szKey = nullptr); + static int WriteContainerSettingsToDB(const MCONTACT hContact, TContainerSettings *cs, const char *szKey = nullptr); static void SettingsToContainer(TContainerData *pContainer); static void ContainerToSettings(TContainerData *pContainer); static void ReadPrivateContainerSettings(TContainerData *pContainer, bool fForce = false); @@ -154,7 +154,7 @@ public: public: // static function to construct and show the dialog, returns the user's choice - static LRESULT show(const int uId, DWORD dwFlags = 0, const wchar_t* tszTxt = 0); + static LRESULT show(const int uId, DWORD dwFlags = 0, const wchar_t* tszTxt = nullptr); static void destroyAll(); LRESULT ShowDialog() const; -- cgit v1.2.3