summaryrefslogtreecommitdiff
path: root/platform/windows/joypad_windows.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/windows/joypad_windows.h')
-rw-r--r--platform/windows/joypad_windows.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/windows/joypad_windows.h b/platform/windows/joypad_windows.h
index f010fd08ff..0db789c335 100644
--- a/platform/windows/joypad_windows.h
+++ b/platform/windows/joypad_windows.h
@@ -39,9 +39,9 @@
#ifndef SAFE_RELEASE // when Windows Media Device M? is not present
#define SAFE_RELEASE(x) \
- if (x != NULL) { \
+ if (x != nullptr) { \
x->Release(); \
- x = NULL; \
+ x = nullptr; \
}
#endif