poly2d/p2d_area_holes.cpp (recurse_area): correct confusing indentation

This commit is contained in:
Werner Almesberger 2015-01-18 20:15:44 -03:00
parent 84f9d3c3b4
commit 6084b52c15
1 changed files with 3 additions and 4 deletions

View File

@ -1,8 +1,8 @@
/*
* p2d_area_holes.cpp - Fill an area with holes
*
* Written 2012 by Werner Almesberger
* Copyright 2012 by Werner Almesberger
* Written 2012, 2015 by Werner Almesberger
* Copyright 2012, 2015 by Werner Almesberger
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -72,8 +72,7 @@ static void recurse_area(Polygon_with_holes poly, double current,
{
if (!poly.outer_boundary().is_simple())
return;
for (Polygon_with_holes::Hole_const_iterator
hit = poly.holes_begin();
for (Polygon_with_holes::Hole_const_iterator hit = poly.holes_begin();
hit != poly.holes_end(); ++hit)
if (!hit->is_simple())
return;