From f3a226257d61fc7e23ddcb853ff828009d309bbd Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 18 Apr 2000 13:23:58 +0000 Subject: Removed use of PropSet in Accessor to avoid linkage. Added indenting and horizontal scroll bar messages. --- include/PropSet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/PropSet.h') 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); -- cgit v1.2.3