[gbrainy/stable] Allow spaces between figures names when given the answer in build a triangle puzzle



commit 717b3224907cb630a0023c2bdfaa1abf647a699b
Author: Jordi Mas <jmas softcatala org>
Date:   Sat Mar 12 22:55:21 2011 +0100

    Allow spaces between figures names when given the answer in build a triangle puzzle

 src/Games/Logic/PuzzleBuildTriangle.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Games/Logic/PuzzleBuildTriangle.cs b/src/Games/Logic/PuzzleBuildTriangle.cs
index 260d957..833b129 100644
--- a/src/Games/Logic/PuzzleBuildTriangle.cs
+++ b/src/Games/Logic/PuzzleBuildTriangle.cs
@@ -62,7 +62,7 @@ namespace gbrainy.Games.Logic
 		}
 
 		public override GameAnswerCheckAttributes CheckAttributes {
-			get { return GameAnswerCheckAttributes.Trim | GameAnswerCheckAttributes.IgnoreCase | GameAnswerCheckAttributes.MatchAll; }
+			get { return GameAnswerCheckAttributes.Trim | GameAnswerCheckAttributes.IgnoreCase | GameAnswerCheckAttributes.MatchAll | GameAnswerCheckAttributes.IgnoreSpaces; }
 		}
 
 		public override string AnswerCheckExpression {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]