aboutsummaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/question.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/question.rs b/src/gui/question.rs
index 5055417..abb8fd7 100644
--- a/src/gui/question.rs
+++ b/src/gui/question.rs
@@ -216,6 +216,7 @@ fn is_correct(input: &str, responses: &[String]) -> bool {
responses
.iter()
.map(|r| r.split('(').collect::<Vec<&str>>()[0].trim())
+ .map(|r| r.split('[').collect::<Vec<&str>>()[0].trim())
.any(|x| x == input)
}