From e692adabe1f6ccc7f79ad19da61be23bb3892844 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 22 May 2021 18:06:41 +0100 Subject: [PATCH] bundles: When we didn't find the file, lowercase the extensions Signed-off-by: Ian Jackson --- src/bundles.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bundles.rs b/src/bundles.rs index 33c404d6..61fb7a96 100644 --- a/src/bundles.rs +++ b/src/bundles.rs @@ -752,7 +752,7 @@ fn make_usvg(za: &mut IndexedZip, progress_count: &mut usize, } throw!(LE::BadBundle(format!( "missing image file, looked for one of {}/{}.{}", dir_inzip, item, - PictureFormat::iter().join(" ."), + PictureFormat::iter().map(|s| s.to_string().to_lowercase()).join(" ."), ))); }; -- 2.30.2