Fix subtitle look and feel typo

This commit is contained in:
ByteDream 2023-01-05 22:28:23 +01:00
parent 7726287859
commit 404aa496e1

View file

@ -481,7 +481,7 @@ fn fix_subtitle_look_and_feel(raw: Vec<u8>) -> Vec<u8> {
for line in String::from_utf8_lossy(raw.as_slice()).split('\n') {
if line.trim().starts_with('[') && script_info {
new.push_str("ScaledBorderAndShadows: yes\n");
new.push_str("ScaledBorderAndShadow: yes\n");
script_info = false
} else if line.trim() == "[Script Info]" {
script_info = true