mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Embrace nullptr over NULL and 0
This commit is contained in:
@ -62,12 +62,12 @@ bool PlatformWin32::RegisterRenderWindowClass()
|
||||
wc.cbClsExtra = 0;
|
||||
wc.cbWndExtra = 0;
|
||||
wc.hInstance = GetModuleHandle(nullptr);
|
||||
wc.hIcon = LoadIcon(NULL, IDI_ICON1);
|
||||
wc.hCursor = LoadCursor(NULL, IDC_ARROW);
|
||||
wc.hIcon = LoadIcon(nullptr, IDI_ICON1);
|
||||
wc.hCursor = LoadCursor(nullptr, IDC_ARROW);
|
||||
wc.hbrBackground = (HBRUSH)(COLOR_WINDOW + 1);
|
||||
wc.lpszMenuName = NULL;
|
||||
wc.lpszMenuName = nullptr;
|
||||
wc.lpszClassName = WINDOW_CLASS_NAME;
|
||||
wc.hIconSm = LoadIcon(NULL, IDI_ICON1);
|
||||
wc.hIconSm = LoadIcon(nullptr, IDI_ICON1);
|
||||
|
||||
if (!RegisterClassEx(&wc))
|
||||
{
|
||||
|
Reference in New Issue
Block a user