Refactor so that all the locate-related stuff in CursorDrag is in one method. Also...
[ardour.git] / gtk2_ardour / export_range_markers_dialog.cc
index fa9b3abfe5a27c345a305eba5ada45e117111f36..774a956d9ecb3b1b8fb59da79bf26c1446be259b 100644 (file)
@@ -38,7 +38,7 @@ using namespace std;
 ExportRangeMarkersDialog::ExportRangeMarkersDialog (PublicEditor& editor)
        : ExportDialog(editor)
 {
-       set_title (_("ardour: export ranges"));
+       set_title (_("Export Ranges"));
        file_frame.set_label (_("Export to Directory"));
 
        do_not_allow_export_cd_markers();
@@ -171,7 +171,7 @@ ExportRangeMarkersDialog::init_progress_computing(Locations::LocationList& locat
        // flush vector
        range_markers_durations_aggregated.resize(0);
 
-       nframes_t duration_before_current_location = 0;
+       framecnt_t duration_before_current_location = 0;
        Locations::LocationList::iterator locationIter;
 
        for (locationIter = locations.begin(); locationIter != locations.end(); ++locationIter) {
@@ -180,7 +180,7 @@ ExportRangeMarkersDialog::init_progress_computing(Locations::LocationList& locat
                if(currentLocation->is_range_marker()){
                        range_markers_durations_aggregated.push_back (duration_before_current_location);
 
-                       nframes_t duration = currentLocation->end() - currentLocation->start();
+                       framecnt_t duration = currentLocation->end() - currentLocation->start();
 
                        range_markers_durations.push_back (duration);
                        duration_before_current_location += duration;