From 712ff51d3f361b1043f79f23133ad21e600a8707 Mon Sep 17 00:00:00 2001 From: Simon Wells Date: Mon, 11 Jan 2016 17:12:11 -0500 Subject: [PATCH] Clarify assignment as conditional in EDIT_TOOL::Main --- pcbnew/tools/edit_tool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/tools/edit_tool.cpp b/pcbnew/tools/edit_tool.cpp index bb4093c39b..8e7c0b4f0e 100644 --- a/pcbnew/tools/edit_tool.cpp +++ b/pcbnew/tools/edit_tool.cpp @@ -313,7 +313,7 @@ int EDIT_TOOL::Main( const TOOL_EVENT& aEvent ) lockOverride = false; } - } while( evt = Wait() ); + } while( ( evt = Wait() ) ); //Should be assignment not equality test if( m_dragging ) decUndoInhibit();