From 2e5b6fc323d0567cf5cfb0de9695ac5ea5a8fbda Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 1 Jun 2012 22:26:22 +0000 Subject: [PATCH] tweak splash destruction git-svn-id: svn://localhost/ardour2/branches/3.0@12535 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/ardour_ui.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc index 29b1f954f2..c210926b55 100644 --- a/gtk2_ardour/ardour_ui.cc +++ b/gtk2_ardour/ardour_ui.cc @@ -2844,10 +2844,8 @@ ARDOUR_UI::show_splash () void ARDOUR_UI::hide_splash () { - if (splash) { - delete splash; - splash = 0; - } + delete splash; + splash = 0; } void