summaryrefslogtreecommitdiff
path: root/wx+/graph.cpp
diff options
context:
space:
mode:
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