chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
826895a
)
bundles: When we didn't find the file, lowercase the extensions
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 22 May 2021 17:06:41 +0000
(18:06 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 22 May 2021 17:11:25 +0000
(18:11 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/bundles.rs
patch
|
blob
|
history
diff --git
a/src/bundles.rs
b/src/bundles.rs
index 33c404d632d5b06978825c69b793f1cd4d8a0bd1..61fb7a96b65072d229b6c73b4de7597eec7ba586 100644
(file)
--- 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(" ."),
)));
};