@@ -913,7 +913,7 @@ void HierarchyView::addWindow( GameWindow *window, HierarchyOption option )
913913 if ( findTreeEntry ( window ) != nullptr )
914914 return ;
915915
916- // get the parent tree entry to this window, NULL if no parent
916+ // get the parent tree entry to this window, nullptr if no parent
917917 GameWindow *parent = window->winGetParent ();
918918 HTREEITEM parentItem = findTreeEntry ( parent );
919919
@@ -1108,7 +1108,7 @@ void HierarchyView::moveWindowAheadOf( GameWindow *window,
11081108 // get the window hierarchy entry
11091109 removeWindow ( window );
11101110
1111- // we'll say and aheadOf of NULL means put at the top
1111+ // we'll say and aheadOf of nullptr means put at the top
11121112 if ( aheadOf == nullptr )
11131113 {
11141114
@@ -1130,13 +1130,13 @@ void HierarchyView::moveWindowAheadOf( GameWindow *window,
11301130
11311131 //
11321132 // get the parent item we will be inserting the new entry at, a parent
1133- // of NULL is OK and will put it at the root of the tree
1133+ // of nullptr is OK and will put it at the root of the tree
11341134 //
11351135 HTREEITEM parentItem = TreeView_GetNextItem ( m_tree, aheadOfItem, TVGN_PARENT );
11361136
11371137 //
11381138 // get the item that we will be inserting after (just previous to
1139- // 'aheadOfItem' ... this can also be NULL for putting at the head
1139+ // 'aheadOfItem' ... this can also be nullptr for putting at the head
11401140 //
11411141 HTREEITEM prevItem = TreeView_GetNextItem ( m_tree, aheadOfItem, TVGN_PREVIOUS );
11421142
@@ -1192,7 +1192,7 @@ void HierarchyView::moveWindowChildOf( GameWindow *window, GameWindow *parent )
11921192 // remvoe the window from the hierarchy
11931193 removeWindow ( window );
11941194
1195- // if parent is NULL we'll put at top of list
1195+ // if parent is nullptr we'll put at top of list
11961196 if ( parent == nullptr )
11971197 {
11981198
@@ -1272,7 +1272,7 @@ void HierarchyView::selectWindow( GameWindow *window )
12721272 if ( window )
12731273 item = findTreeEntry ( window );
12741274
1275- // select the item, or no item NULL will select nothing
1275+ // select the item, or no item nullptr will select nothing
12761276 TreeView_SelectItem ( m_tree, item );
12771277 TreeView_Expand ( m_tree, item, 0 );
12781278
0 commit comments