From d912747a68c38baa1d19e07067d8c691f29f8198 Mon Sep 17 00:00:00 2001 From: John Fultz Date: Tue, 21 Jul 2015 10:18:57 -0500 Subject: Visual Studio build maintenance. * Fix compiler warnings * Add Visual Studio 2013 solution * Tweak .pro files * Most importantly, rename main 'quackle' project to 'libquackle' to avoid solution-level name conflict. This only affects the VS build. --- lexiconparameters.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lexiconparameters.h') 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 -- cgit v1.2.3