Fixed integer assignment to boolean variable.
This commit is contained in:
parent
c64f5fa5a4
commit
5c3d99b86a
@ -96,7 +96,7 @@ void relay::parse(const string& buffer, const string::size_type position,
|
|||||||
{
|
{
|
||||||
Parts newPart = Part_None;
|
Parts newPart = Part_None;
|
||||||
|
|
||||||
if (cont = (iss >> word))
|
if (cont = ((iss >> word) != 0))
|
||||||
{
|
{
|
||||||
// A little hack for handling comments
|
// A little hack for handling comments
|
||||||
if (inComment)
|
if (inComment)
|
||||||
|
Loading…
Reference in New Issue
Block a user