From: Carl Hetherington Date: Tue, 8 Aug 2023 13:25:47 +0000 (+0200) Subject: Cleanup: use nullptr. X-Git-Tag: v2.16.61~13 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=8cb1cf6a5577fcb75d210006abe334be755973a0 Cleanup: use nullptr. --- diff --git a/src/wx/content_panel.cc b/src/wx/content_panel.cc index 5fa935fac..0e2dbafb2 100644 --- a/src/wx/content_panel.cc +++ b/src/wx/content_panel.cc @@ -527,7 +527,7 @@ ContentPanel::check_selection () _video_panel->create (); } else if (!have_video && _video_panel) { _notebook->DeletePage (off); - _video_panel = 0; + _video_panel = nullptr; } if (have_video) { @@ -540,7 +540,7 @@ ContentPanel::check_selection () _audio_panel->create (); } else if (!have_audio && _audio_panel) { _notebook->DeletePage (off); - _audio_panel = 0; + _audio_panel = nullptr; } if (have_audio) {