aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/ea-week-view-main-item.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/ea-week-view-main-item.c')
-rw-r--r--calendar/gui/ea-week-view-main-item.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/calendar/gui/ea-week-view-main-item.c b/calendar/gui/ea-week-view-main-item.c
index 22ce67ca82..e7749f6a70 100644
--- a/calendar/gui/ea-week-view-main-item.c
+++ b/calendar/gui/ea-week-view-main-item.c
@@ -805,8 +805,10 @@ table_interface_is_row_selected (AtkTable *table,
return FALSE;
if ((row < 0)&&(row + 1 > week_view->weeks_shown ))
return FALSE;
- if (((week_view->selection_start_day < row*7)&&(week_view->selection_end_day<row*7))
- ||((week_view->selection_start_day > row*7+6)&&(week_view->selection_end_day > row*7+6)))
+ if (((week_view->selection_start_day < row * 7) &&
+ (week_view->selection_end_day < row * 7)) ||
+ ((week_view->selection_start_day > row * 7 + 6) &&
+ (week_view->selection_end_day > row * 7 + 6)))
return FALSE;
else
return TRUE;
@@ -817,7 +819,8 @@ table_interface_is_selected (AtkTable *table,
gint row,
gint column)
{
- return table_interface_is_row_selected (table, row) && table_interface_is_column_selected(table, column);
+ return table_interface_is_row_selected (table, row) &&
+ table_interface_is_column_selected (table, column);
}
static gboolean