From 431fea9a7c825943b07fc4b4f3423355a5fee501 Mon Sep 17 00:00:00 2001 From: Vivien Delmon Date: Fri, 20 May 2011 15:43:23 +0200 Subject: [PATCH] Replace || by && - I commited my last patch a bit too fast. --- common/clitkCommon.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/clitkCommon.cxx b/common/clitkCommon.cxx index 3c16d87..785b0fd 100644 --- a/common/clitkCommon.cxx +++ b/common/clitkCommon.cxx @@ -41,7 +41,7 @@ void clitk::skipComment(std::istream & is) is >> c; if (is.eof()) return; } - if (!(is.fail()) || c != '\n') + if (!(is.fail()) && c != '\n') is.unget(); } //// //------------------------------------------------------------------ -- 2.45.1