diff options
| author | Nathan Perry <avaglir@gmail.com> | 2019-03-10 03:08:07 -0400 |
|---|---|---|
| committer | Nathan Perry <avaglir@gmail.com> | 2019-03-10 03:08:07 -0400 |
| commit | 517cfcd44037fb6b556dddc2762f4755127cf3f4 (patch) | |
| tree | c2a578265c99b182670722727af52f73cfd43107 | |
| parent | 006c5e12bb2ad35512c0f510a8fd915ba813d42c (diff) | |
fix gamestatus parsing bug
| -rw-r--r-- | src/game.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |
