From 475ecb67af7af522ec8796ea1bf0d16602c78273 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 27 Jul 2012 13:16:07 +0100 Subject: Clean up a few bits. --- src/lib/decoder.cc | 1 - src/lib/film_state.cc | 1 + src/lib/scp_dcp_job.cc | 2 +- src/tools/dvdomatic.cc | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/lib/decoder.cc b/src/lib/decoder.cc index 0273b3c01..0a0f7666b 100644 --- a/src/lib/decoder.cc +++ b/src/lib/decoder.cc @@ -32,7 +32,6 @@ extern "C" { #endif #include } -#include #include "film.h" #include "format.h" #include "job.h" diff --git a/src/lib/film_state.cc b/src/lib/film_state.cc index 0b16f4175..29bf71db3 100644 --- a/src/lib/film_state.cc +++ b/src/lib/film_state.cc @@ -279,4 +279,5 @@ FilmState::bytes_per_sample () const } assert (false); + return 0; } diff --git a/src/lib/scp_dcp_job.cc b/src/lib/scp_dcp_job.cc index bfa9d056d..f62d2db8d 100644 --- a/src/lib/scp_dcp_job.cc +++ b/src/lib/scp_dcp_job.cc @@ -225,7 +225,7 @@ SCPDCPJob::status () const stringstream s; s << Job::status (); if (!_status.empty ()) { - s << << "; " << _status; + s << "; " << _status; } return s.str (); } diff --git a/src/tools/dvdomatic.cc b/src/tools/dvdomatic.cc index 131f0bd71..1394ccff2 100644 --- a/src/tools/dvdomatic.cc +++ b/src/tools/dvdomatic.cc @@ -268,7 +268,7 @@ public: void file_open (wxCommandEvent &) { - wxDirDialog* c = new wxDirDialog (this, wxT ("Open Film"), wxStandardPaths::Get().GetDocumentsDir(), wxDD_DIR_MUST_EXIST); + wxDirDialog* c = new wxDirDialog (this, wxT ("Open Film"), wxStandardPaths::Get().GetDocumentsDir(), wxDEFAULT_DIALOG_STYLE | wxDD_DIR_MUST_EXIST); int const r = c->ShowModal (); c->Destroy (); -- cgit v1.2.3