mirror of
https://codeberg.org/fairyglade/ly.git
synced 2026-08-23 05:54:20 +02:00
fix(DurFIle): add missing .?
This commit is contained in:
parent
7ed837e4d9
commit
6d97485928
1 changed files with 4 additions and 4 deletions
|
|
@ -436,7 +436,7 @@ pub fn init(
|
|||
return err;
|
||||
},
|
||||
error.UnsupportedColorFormat => {
|
||||
try log_file.err(io, "tui", "dur_file loaded was invalid: unsupported colorFormat ({s})!", .{dur_movie_raw.colorFormat});
|
||||
try log_file.err(io, "tui", "dur_file loaded was invalid: unsupported colorFormat ({s})!", .{dur_movie_raw.colorFormat.?});
|
||||
return err;
|
||||
},
|
||||
error.MissingFieldEncoding => {
|
||||
|
|
@ -444,7 +444,7 @@ pub fn init(
|
|||
return err;
|
||||
},
|
||||
error.UnsupportedEncoding => {
|
||||
try log_file.err(io, "tui", "dur_file loaded was invalid: unsupported encoding ({s})!", .{dur_movie_raw.encoding});
|
||||
try log_file.err(io, "tui", "dur_file loaded was invalid: unsupported encoding ({s})!", .{dur_movie_raw.encoding.?});
|
||||
return err;
|
||||
},
|
||||
error.MissingFieldFramerate => {
|
||||
|
|
@ -460,11 +460,11 @@ pub fn init(
|
|||
return err;
|
||||
},
|
||||
error.InvalidColumnCount => {
|
||||
try log_file.err(io, "tui", "dur_file loaded was invalid: columns value falls outside of supported range ({d})!", .{dur_movie_raw.columns});
|
||||
try log_file.err(io, "tui", "dur_file loaded was invalid: columns value falls outside of supported range ({d})!", .{dur_movie_raw.columns.?});
|
||||
return err;
|
||||
},
|
||||
error.InvalidLineCount => {
|
||||
try log_file.err(io, "tui", "dur_file loaded was invalid: lines value falls outside of supported range ({d})!", .{dur_movie_raw.lines});
|
||||
try log_file.err(io, "tui", "dur_file loaded was invalid: lines value falls outside of supported range ({d})!", .{dur_movie_raw.lines.?});
|
||||
return err;
|
||||
},
|
||||
error.NoFrames => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue