summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--riscos/toolbar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/riscos/toolbar.c b/riscos/toolbar.c
index 3a6c0d67b..5bbde8a38 100644
--- a/riscos/toolbar.c
+++ b/riscos/toolbar.c
@@ -847,8 +847,8 @@ void ro_toolbar_refresh_widget_dimensions(struct toolbar *toolbar)
toolbar->full_height = 0;
}
toolbar->full_width = 2 * TOOLBAR_WIDGET_GUTTER +
- (row_width > toolbar->editor_size.x) ?
- row_width : toolbar->editor_size.x;
+ ((row_width > toolbar->editor_size.x) ?
+ row_width : toolbar->editor_size.x);
}