Merge branch 'master' into gtk3

This commit is contained in:
Morgan Hardwood
2016-07-09 23:49:31 +02:00
49 changed files with 418 additions and 419 deletions

View File

@@ -310,16 +310,16 @@ bool ThresholdSelector::on_draw(const ::Cairo::RefPtr< Cairo::Context> &cr)
if (pts.size() >= 4) {
std::vector<double>::iterator i = pts.begin();
double x = *i;
i++;
++i;
double y = *i;
i++;
++i;
cr->move_to (hb + hwslider + iw * x + 0.5, (yEnd - yStart)*y + yStart);
for (; i < pts.end(); ) {
x = *i;
i++;
++i;
y = *i;
i++;
++i;
cr->line_to (hb + hwslider + iw * x + 0.5, (yEnd - yStart)*y + yStart);
}
} else {