diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/exceptions.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/exceptions.cc b/src/exceptions.cc index c588696e..ed6edaa4 100644 --- a/src/exceptions.cc +++ b/src/exceptions.cc @@ -50,10 +50,10 @@ TimeFormatError::TimeFormatError (string bad_time) MissingAssetError::MissingAssetError (boost::filesystem::path path, AssetType type) : DCPReadError ( - type == MAIN_PICTURE ? String::compose ("missing asset %1 for main picture", path.string()) : - (type == MAIN_SOUND ? String::compose ("missing asset %1 for main sound", path.string()) : - (type == MAIN_SUBTITLE ? String::compose ("missing asset %1 for main subtitle", path.string()) : - String::compose ("missing asset %1", path.string())))) + type == MAIN_PICTURE ? String::compose ("Missing asset %1 for main picture", path.string()) : + (type == MAIN_SOUND ? String::compose ("Missing asset %1 for main sound", path.string()) : + (type == MAIN_SUBTITLE ? String::compose ("Missing asset %1 for main subtitle", path.string()) : + String::compose ("Missing asset %1", path.string())))) { } |
