From 517cfcd44037fb6b556dddc2762f4755127cf3f4 Mon Sep 17 00:00:00 2001 From: Nathan Perry Date: Sun, 10 Mar 2019 03:08:07 -0400 Subject: fix gamestatus parsing bug --- src/game.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/game.rs b/src/game.rs index 442c937..1099af5 100644 --- a/src/game.rs +++ b/src/game.rs @@ -133,7 +133,7 @@ impl FromStr for GameStatus { if s.starts_with("y") { Ok(GameStatus::Installed) } else if s.starts_with("n/i") { - Ok(GameStatus::Installed) + Ok(GameStatus::NotInstalled) } else if s.starts_with("n") { Ok(GameStatus::NotOwned) } else if s.chars().all(char::is_whitespace) { -- cgit v1.3.1