From 58d6244987e9a27a436f0b3a06067657740226e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Kr=C3=BCger?= Date: Sat, 30 Sep 2023 22:16:05 +0200 Subject: [PATCH] Fixed screen mode parsing bug. --- src/data/addresses.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/addresses.rs b/src/data/addresses.rs index b6eb4e2..e5486f5 100644 --- a/src/data/addresses.rs +++ b/src/data/addresses.rs @@ -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::() { height = h; }