From 8cb1cf6a5577fcb75d210006abe334be755973a0 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 8 Aug 2023 15:25:47 +0200 Subject: Cleanup: use nullptr. --- src/wx/content_panel.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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) { -- cgit v1.2.3