Skip to content

Commit

Permalink
Bump lss version to 1.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
CryZe committed Jan 12, 2020
1 parent 8347397 commit 6b8f31e
Show file tree
Hide file tree
Showing 4 changed files with 368 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/rendering/software/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ fn subsplits_layout() {
check_dims(
&layout.state(&timer),
[300, 800],
0x7a696b4f,
0x76ea8d94,
"subsplits_layout",
);
}
Expand Down Expand Up @@ -200,7 +200,7 @@ fn horizontal() {
&[Some(10.0), None, Some(20.0), Some(55.0)],
);

check_dims(&layout.state(&timer), [1500, 40], 0x3a70ef32, "horizontal");
check_dims(&layout.state(&timer), [1500, 40], 0x38c2da29, "horizontal");
}

fn check(state: &LayoutState, expected_checksum: u32, name: &str) {
Expand Down
2 changes: 1 addition & 1 deletion src/run/parser/livesplit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ pub fn parse<R: BufRead>(source: R, path: Option<PathBuf>) -> Result<Run> {
});
}

if version < Version(1, 8, 0, 0) {
if version < Version(1, 8, 1, 0) {
import_legacy_subsplits(&mut run);
}

Expand Down
2 changes: 1 addition & 1 deletion src/run/saver/livesplit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ pub fn save_run<W: Write>(run: &Run, writer: W) -> Result<()> {

writer.write_event(Event::Decl(BytesDecl::new(b"1.0", Some(b"UTF-8"), None)))?;
writer.write_event(Event::Start(BytesStart::borrowed(
br#"Run version="1.8.0""#,
br#"Run version="1.8.1""#,
3,
)))?;

Expand Down
Loading

0 comments on commit 6b8f31e

Please sign in to comment.