don't add invalid keywords (empty match) to database.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@277 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2007-04-21 17:46:47 +00:00
parent 91ddd35064
commit 454605bb5d
2 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ class KeywordMode {
/// A keyword for a set or a game
class Keyword {
public:
Keyword() : fixed(false) {}
Keyword() : fixed(false), valid(false) {}
String keyword; ///< The keyword, only for human use
String rules; ///< Rules/explanation