diff options
| -rw-r--r-- | ChangeLog | 2 | ||||
| -rw-r--r-- | src/lib/util.cc | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,7 @@ 2014-04-27 Carl Hetherington <cth@carlh.net> + * Add .dpx to the list of acceptable image files. + * Slightly better handling of uncaught exceptions. * Use our own directory picker on 14.04 (as well as 13.04 and 13.10) as diff --git a/src/lib/util.cc b/src/lib/util.cc index 7a19790eb..f15d2283c 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -876,7 +876,7 @@ valid_image_file (boost::filesystem::path f) { string ext = f.extension().string(); transform (ext.begin(), ext.end(), ext.begin(), ::tolower); - return (ext == ".tif" || ext == ".tiff" || ext == ".jpg" || ext == ".jpeg" || ext == ".png" || ext == ".bmp" || ext == ".tga"); + return (ext == ".tif" || ext == ".tiff" || ext == ".jpg" || ext == ".jpeg" || ext == ".png" || ext == ".bmp" || ext == ".tga" || ext == ".dpx"); } string |
