summaryrefslogtreecommitdiff
path: root/include/m_popup.h
diff options
context:
space:
mode:
authorGoraf <22941576+Goraf@users.noreply.github.com>2018-02-24 15:32:06 +0100
committerGoraf <22941576+Goraf@users.noreply.github.com>2018-02-24 18:20:46 +0100
commit1c0172cca4f1e90679321912e20436a7f42f122d (patch)
tree77a544d2c09332ec176f42ebcf58a40d9c5d2b93 /include/m_popup.h
parentdff565f40105b20b0e8e4dba1f48ccc9b8e7ff44 (diff)
more nullptr
Diffstat (limited to 'include/m_popup.h')
-rw-r--r--include/m_popup.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/m_popup.h b/include/m_popup.h
index 1c1342295e..509a6f20f4 100644
--- a/include/m_popup.h
+++ b/include/m_popup.h
@@ -287,7 +287,7 @@ and it will work. Just look at the example I've written above (PopupDlgProc).
*/
#define MS_POPUP_GETPLUGINDATA "Popup/GetPluginData"
static void __inline * PUGetPluginData(HWND hPopupWindow) {
- long * uselessPointer = NULL;
+ long * uselessPointer = nullptr;
return (void*)CallService(MS_POPUP_GETPLUGINDATA, (WPARAM)hPopupWindow, (LPARAM)uselessPointer);
}
@@ -667,7 +667,7 @@ typedef struct {
HANDLE __forceinline Popup_RegisterClass(POPUPCLASS *pc)
{
if (!ServiceExists(MS_POPUP_REGISTERCLASS))
- return NULL;
+ return nullptr;
return (HANDLE)CallService(MS_POPUP_REGISTERCLASS, 0, LPARAM(pc));
}