summaryrefslogtreecommitdiff
path: root/wx+/graph.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2015-10-02 14:52:04 +0200
committerDaniel Wilhelm <daniel@wili.li>2015-10-02 14:52:04 +0200
commit1845c028b8cb8496d1d78f0da738120e1c31401a (patch)
treeadf9fb436aea09be367aef8ed3b6cdbf6a46e34c /wx+/graph.cpp
parent6.7 (diff)
downloadFreeFileSync-1845c028b8cb8496d1d78f0da738120e1c31401a.tar.gz
FreeFileSync-1845c028b8cb8496d1d78f0da738120e1c31401a.tar.bz2
FreeFileSync-1845c028b8cb8496d1d78f0da738120e1c31401a.zip
6.8
Diffstat (limited to 'wx+/graph.cpp')
-rw-r--r--wx+/graph.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/wx+/graph.cpp b/wx+/graph.cpp
index 1a8f4376..22358922 100644
--- a/wx+/graph.cpp
+++ b/wx+/graph.cpp
@@ -10,7 +10,6 @@
#include <numeric>
#include <zen/basic_math.h>
#include <zen/scope_guard.h>
-//#include <wx/settings.h>
#include "dc.h"
using namespace zen;
@@ -224,6 +223,7 @@ void cutPoints(std::vector<CurvePoint>& curvePoints, std::vector<char>& oobMarke
{
assert(curvePoints.size() == oobMarker.size());
if (curvePoints.size() != oobMarker.size() || curvePoints.empty()) return;
+
auto isMarkedOob = [&](size_t index) { return oobMarker[index] != 0; }; //test if point is start of a OOB line
std::vector<CurvePoint> curvePointsTmp;
bgstack15