From 484c3316d647cb7321b55df85c8128e83c013ef2 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 25 Jan 2017 16:56:31 +0100 Subject: [PATCH] yet another case of misplaced parentheses during the removal of boost::optional from Canvas --- libs/canvas/canvas.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/canvas/canvas.cc b/libs/canvas/canvas.cc index d6a9f88583..9f76f45dc6 100644 --- a/libs/canvas/canvas.cc +++ b/libs/canvas/canvas.cc @@ -198,7 +198,7 @@ Canvas::item_visual_property_changed (Item* item) { Rect bbox = item->bounding_box (); if (bbox) { - if (item->item_to_window (bbox.intersection (visible_area ()))) { + if (item->item_to_window (bbox).intersection (visible_area ())) { queue_draw_item_area (item, bbox); } }