diff options
author | Johan Manuel <johan.manuel@live.fr> | 2016-07-26 15:04:54 +0200 |
---|---|---|
committer | Johan Manuel <johan.manuel@live.fr> | 2016-08-13 13:21:35 +0200 |
commit | 67b29e3b9ea9630b84477a4bdc71b41b25191872 (patch) | |
tree | 4f680a0068ba284661ba283e3246eba89fb48302 /core/math | |
parent | 046f94d3acc9d4f6465fe05ae8ee3fbd315b23d2 (diff) |
Fix some warnings about misleading indentation
Diffstat (limited to 'core/math')
-rw-r--r-- | core/math/triangulate.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/math/triangulate.cpp b/core/math/triangulate.cpp index 27b7c86675..1f5d5ed6b3 100644 --- a/core/math/triangulate.cpp +++ b/core/math/triangulate.cpp @@ -157,7 +157,10 @@ bool Triangulate::triangulate(const Vector<Vector2> &contour,Vector<int> &result m++; /* remove v from remaining polygon */ - for(s=v,t=v+1;t<nv;s++,t++) V[s] = V[t]; nv--; + for(s=v,t=v+1;t<nv;s++,t++) + V[s] = V[t]; + + nv--; /* resest error detection counter */ count = 2*nv; |