From 8420672b91827fef5aa7abccd11c0acd0fd6e687 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 7 Nov 2006 21:15:34 +0000 Subject: [PATCH] fix silly override of member by local variable that led to crash during region export git-svn-id: svn://localhost/ardour2/trunk@1091 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/export_region_dialog.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/export_region_dialog.cc b/gtk2_ardour/export_region_dialog.cc index 3ed282761d..30ff05dc5c 100644 --- a/gtk2_ardour/export_region_dialog.cc +++ b/gtk2_ardour/export_region_dialog.cc @@ -31,7 +31,7 @@ ExportRegionDialog::ExportRegionDialog (PublicEditor& editor, boost::shared_ptr region) : ExportDialog(editor) { - boost::shared_ptr audio_region = boost::dynamic_pointer_cast(region); + audio_region = boost::dynamic_pointer_cast(region); assert(audio_region); do_not_allow_track_and_master_selection();