]> git.mxchange.org Git - flightgear.git/blobdiff - src/Autopilot/logic.cxx
toggle fullscreen: also adapt GUI plane when resizing
[flightgear.git] / src / Autopilot / logic.cxx
index 1400b6fb890d928935c35a54cbf8e6594fb73707..6f8a5304156397ba83d0882abee6e6941cec7537 100644 (file)
 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 //
 
+// for some obscure reason, MSVC needs this to compile
+#ifdef _MSC_VER
+#ifndef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+#endif
+
 #include "logic.hxx"
 
 using namespace FGXMLAutopilot;
@@ -37,7 +44,7 @@ void Logic::set_output( bool value )
   if( _inverted ) value = !value;
 
   // set all outputs to the given value
-  for( OutputMap::iterator it = _output.begin(); it != _output.end(); it++ )
+  for( OutputMap::iterator it = _output.begin(); it != _output.end(); ++it )
     (*it).second->setValue( value );
 }