projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Change end() to only do one thing, and copy the required stuff into pause()
[dcpomatic.git]
/
src
/
lib
/
create_cli.cc
diff --git
a/src/lib/create_cli.cc
b/src/lib/create_cli.cc
index 6752be4094125f3d26dd7629f246b4215cec118b..1c2f2c6354fcf3ef4f2edf73096c9add9af39c22 100644
(file)
--- a/
src/lib/create_cli.cc
+++ b/
src/lib/create_cli.cc
@@
-316,7
+316,7
@@
CreateCLI::CreateCLI (int argc, char* argv[])
}
if (_name.empty()) {
- _name = content[0].path.
leaf
().string();
+ _name = content[0].path.
filename
().string();
}
if (_j2k_bandwidth && (*_j2k_bandwidth < 10000000 || *_j2k_bandwidth > Config::instance()->maximum_j2k_bandwidth())) {