From a8482ae3ff3fdd4d971ece737fb95d45761b4851 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Mon, 5 Jan 2004 14:54:55 +0100 Subject: Fixed NumberedSection::moreThanOneSection() --- libsi/si.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libsi/si.h') diff --git a/libsi/si.h b/libsi/si.h index 25fe1037..85f368ea 100644 --- a/libsi/si.h +++ b/libsi/si.h @@ -6,7 +6,7 @@ * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * - * $Id: si.h 1.3 2003/12/25 13:30:56 kls Exp $ + * $Id: si.h 1.4 2004/01/05 14:54:55 kls Exp $ * * ***************************************************************************/ @@ -207,7 +207,7 @@ public: int getVersionNumber() const; int getSectionNumber() const; int getLastSectionNumber() const; - bool moreThanOneSection() const { return getLastSectionNumber()>1; } + bool moreThanOneSection() const { return getLastSectionNumber()>0; } }; class VariableLengthPart : public Object { -- cgit v1.2.3