diff options
Diffstat (limited to 'src/lib/exceptions.cc')
| -rw-r--r-- | src/lib/exceptions.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/exceptions.cc b/src/lib/exceptions.cc index 4d9ccc95c..f34cebbfe 100644 --- a/src/lib/exceptions.cc +++ b/src/lib/exceptions.cc @@ -63,7 +63,7 @@ PixelFormatError::PixelFormatError (string o, AVPixelFormat f) } SubRipError::SubRipError (string saw, string expecting, boost::filesystem::path f) - : FileError (String::compose (_("Error in SubRip file: saw %1 while expecting %2"), saw, expecting), f) + : FileError (String::compose (_("Error in SubRip file: saw %1 while expecting %2"), saw.empty() ? "[nothing]" : saw, expecting), f) { - + } |
