diff options
Diffstat (limited to 'include/PropSet.h')
| -rw-r--r-- | include/PropSet.h | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/include/PropSet.h b/include/PropSet.h index 31da01f95..27fd821a4 100644 --- a/include/PropSet.h +++ b/include/PropSet.h @@ -168,7 +168,7 @@ public:  	WordList(bool onlyLineEnds_ = false) :   		words(0), list(0), len(0), onlyLineEnds(onlyLineEnds_) {}  	~WordList() { Clear(); } -	operator bool() { return list; } +	operator bool() { return list ? true : false; }  	const char *operator[](int ind) { return words[ind]; }  	void Clear();  	void Set(const char *s); | 
