summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-10-19 00:12:20 +0100
committerCarl Hetherington <cth@carlh.net>2012-10-19 00:12:20 +0100
commite06f9e4dc4290b387eb08fea0c90460ef46654b4 (patch)
tree29ca0c479d51fb37689f357c7f71e08d6bbb75f5 /src
parentde04e4a8418dedb76d6a7954eb4bd286e8170587 (diff)
Fix build.
Diffstat (limited to 'src')
-rw-r--r--src/tools/makedcp.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/makedcp.cc b/src/tools/makedcp.cc
index 9fa8027e7..57814272d 100644
--- a/src/tools/makedcp.cc
+++ b/src/tools/makedcp.cc
@@ -160,6 +160,8 @@ main (int argc, char* argv[])
dvdomatic_sleep (5);
+ list<shared_ptr<Job> > jobs = JobManager::instance()->get ();
+
if (!first && progress) {
cout << "\033[" << jobs.size() << "A";
cout.flush ();
@@ -168,7 +170,6 @@ main (int argc, char* argv[])
first = false;
all_done = true;
- list<shared_ptr<Job> > jobs = JobManager::instance()->get ();
for (list<shared_ptr<Job> >::iterator i = jobs.begin(); i != jobs.end(); ++i) {
if (progress) {
cout << (*i)->name() << ": ";