Use snake_case

This commit is contained in:
Amelia 2024-04-11 18:24:39 -07:00 committed by GitHub
parent bd318ba562
commit 2ab588e817
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1309,8 +1309,8 @@ fn get_subtitle_stats(path: &Path) -> Result<Vec<String>> {
fonts.push(font_string)
}
}
if let Some(overrideFont) = capture.name("overrideFont") {
let font_string = overrideFont.as_str().to_string();
if let Some(override_font) = capture.name("overrideFont") {
let font_string = override_font.as_str().to_string();
if !fonts.contains(&font_string) {
fonts.push(font_string)
}