Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Commit

Permalink
Fixed screen mode parsing bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrueger committed Sep 30, 2023
1 parent d2872ea commit 58d6244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data/addresses.rs
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ fn parse_address(value: &Value) -> Address {
}
}
let mut height = 25;
if let Some(h) = caps.get(1) {
if let Some(h) = caps.get(2) {
if let Ok(h) = h.as_str().parse::<i32>() {
height = h;
}
Expand Down

0 comments on commit 58d6244

Please sign in to comment.