Skip to content

Commit e81dee7

Browse files
committed
refactor: convert final NULL instances to nullptr
1 parent 7d8e960 commit e81dee7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Core/Tools/Autorun/Wnd_file.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1337,7 +1337,7 @@ int Tell_File( HANDLE handle )
13371337
//
13381338
pos = SetFilePointer( handle,
13391339
0, // distance to move
1340-
NULL,
1340+
nullptr,
13411341
move_method );
13421342

13431343
if ( pos == 0xFFFFFFFF ) {

Core/Tools/WW3D/max2w3d/GameMtlPassDlg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ BOOL GameMtlPassDlg::DialogProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM l
209209
// Loop through all the tabs in the property sheet
210210
// Get a pointer to this tab
211211
SetWindowPos( hwnd,
212-
NULL,
212+
nullptr,
213213
rect.left, rect.top,
214214
rect.right - rect.left, rect.bottom - rect.top,
215215
SWP_NOZORDER);

Core/Tools/WW3D/max2w3d/vxldbg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ void VoxelDebugWindowClass::Display_Window(void)
7171
(
7272
AppInstance,
7373
MAKEINTRESOURCE (IDD_VOXEL_DEBUG_DIALOG),
74-
NULL,
74+
nullptr,
7575
(DLGPROC) _dialog_proc,
7676
(LPARAM) this
7777
);

0 commit comments

Comments
 (0)