From 620e1f7d9b58e3c043dc99e260f4582158ba88a2 Mon Sep 17 00:00:00 2001 From: matta <matta@npt> Date: Mon, 7 Feb 2011 19:14:37 +0000 Subject: [PATCH] * Fixing bug in TAsciiFile::IsEmpty() --- NPLib/Tools/TAsciiFile.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NPLib/Tools/TAsciiFile.h b/NPLib/Tools/TAsciiFile.h index 560447670..fb64f0dc2 100644 --- a/NPLib/Tools/TAsciiFile.h +++ b/NPLib/Tools/TAsciiFile.h @@ -50,7 +50,7 @@ class TAsciiFile : public TNamed { void Print(const Option_t*) const {}; void Print() const; void Print(UInt_t begin, UInt_t end) const; - bool IsEmpty () {if (fLines.size()!=0) return true; + bool IsEmpty () {if (fLines.size()==0) return true; else return false ;} ClassDef(TAsciiFile, 1); // Class TAsciiFile for storing ascii text -- GitLab