calendar: Fix else branch indentations
This commit is contained in:
parent
b73e6ffbd8
commit
61c85ba89d
@ -2257,13 +2257,13 @@ calendar_paint_header (GtkCalendar *calendar, cairo_t *cr)
|
|||||||
x = header_width - (3 + max_month_width
|
x = header_width - (3 + max_month_width
|
||||||
- (max_month_width - logical_rect.width)/2);
|
- (max_month_width - logical_rect.width)/2);
|
||||||
else
|
else
|
||||||
x = 3 + (max_month_width - logical_rect.width) / 2;
|
x = 3 + (max_month_width - logical_rect.width) / 2;
|
||||||
else
|
else
|
||||||
if (year_left)
|
if (year_left)
|
||||||
x = header_width - (3 + priv->arrow_width + max_month_width
|
x = header_width - (3 + priv->arrow_width + max_month_width
|
||||||
- (max_month_width - logical_rect.width)/2);
|
- (max_month_width - logical_rect.width)/2);
|
||||||
else
|
else
|
||||||
x = 3 + priv->arrow_width + (max_month_width - logical_rect.width)/2;
|
x = 3 + priv->arrow_width + (max_month_width - logical_rect.width)/2;
|
||||||
|
|
||||||
gtk_render_layout (context, cr, x, y, layout);
|
gtk_render_layout (context, cr, x, y, layout);
|
||||||
g_object_unref (layout);
|
g_object_unref (layout);
|
||||||
|
Loading…
Reference in New Issue
Block a user