From 5c3d99b86a74227921cd81edaed22697f67004ed Mon Sep 17 00:00:00 2001 From: Stefan Uhrig Date: Sun, 27 Mar 2005 18:28:09 +0000 Subject: [PATCH] Fixed integer assignment to boolean variable. --- src/relay.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/relay.cpp b/src/relay.cpp index 2eef657b..3724bde2 100644 --- a/src/relay.cpp +++ b/src/relay.cpp @@ -96,7 +96,7 @@ void relay::parse(const string& buffer, const string::size_type position, { Parts newPart = Part_None; - if (cont = (iss >> word)) + if (cont = ((iss >> word) != 0)) { // A little hack for handling comments if (inComment)