This commit is contained in:
lemon-sh 2022-01-25 19:52:44 +01:00
parent 2e44a19bef
commit 59974c1d46

View file

@ -231,11 +231,11 @@ fn decoder(inputfile: &str, outputfile: &str) -> Result<()> {
match split.len() {
0 => return Err(InvalidMetadataError(line.to_string())),
1 => {
md_key.try_push_str(&line)?;
md_key.try_push_str(&sline)?;
md_keylock = true;
},
_ => {
md_key.try_push_str(&line)?;
md_key.try_push_str(&sline)?;
outpng.add_itxt_chunk(split[0].trim_start().to_string(), split[1].trim_start().to_string())?;
},
}