summaryrefslogtreecommitdiff
path: root/wx+/graph.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:19:49 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:19:49 +0200
commitc8e0e909b4a8d18319fc65434a10dc446434817c (patch)
treeeee91e7d2ce229dd043811eae8f1e2bd78061916 /wx+/graph.cpp
parent5.2 (diff)
downloadFreeFileSync-c8e0e909b4a8d18319fc65434a10dc446434817c.tar.gz
FreeFileSync-c8e0e909b4a8d18319fc65434a10dc446434817c.tar.bz2
FreeFileSync-c8e0e909b4a8d18319fc65434a10dc446434817c.zip
5.3
Diffstat (limited to 'wx+/graph.cpp')
-rw-r--r--wx+/graph.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/wx+/graph.cpp b/wx+/graph.cpp
index 185121f1..9a64b3dd 100644
--- a/wx+/graph.cpp
+++ b/wx+/graph.cpp
@@ -411,7 +411,8 @@ void Graph2D::render(wxDC& dc) const
if (iter->first.get())
{
const GraphData& graph = *iter->first;
- assert(graph.getXBegin() <= graph.getXEnd());
+ assert(graph.getXBegin() <= graph.getXEnd() + 1.0e-9);
+ //GCC fucks up bad when comparing two *binary identical* doubles and finds "begin > end" with diff of 1e-18
if (attr.minXauto)
minWndX = std::min(minWndX, graph.getXBegin());
bgstack15