summaryrefslogtreecommitdiff
path: root/lexiconparameters.h
diff options
context:
space:
mode:
Diffstat (limited to 'lexiconparameters.h')
-rw-r--r--lexiconparameters.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lexiconparameters.h b/lexiconparameters.h
index 9935f37..612c103 100644
--- a/lexiconparameters.h
+++ b/lexiconparameters.h
@@ -69,12 +69,12 @@ inline bool LexiconParameters::hasSomething() const
inline bool LexiconParameters::hasDawg() const
{
- return m_dawg;
+ return m_dawg != NULL;
}
inline bool LexiconParameters::hasGaddag() const
{
- return m_gaddag;
+ return m_gaddag != NULL;
}
inline unsigned char LexiconParameters::dawgAt(int index) const