diff options
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 5 | ||||
-rw-r--r-- | calendar/gui/e-day-view-time-item.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 9e2f8fc94f..d19f942db9 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2000-12-04 JP Rosevear <jpr@helixcode.com> + + * gui/e-day-view-time-item.c (e_day_view_time_item_get_column_width): + Initialize max_large_digit_width to 0 to prevent crazy sizing issues. + 2000-12-04 Dan Winship <danw@helixcode.com> * gui/e-itip-control.c: Remove mysterious #include inserted by diff --git a/calendar/gui/e-day-view-time-item.c b/calendar/gui/e-day-view-time-item.c index 18dad8f663..b0e51aa053 100644 --- a/calendar/gui/e-day-view-time-item.c +++ b/calendar/gui/e-day-view-time-item.c @@ -199,7 +199,7 @@ e_day_view_time_item_get_column_width (EDayViewTimeItem *dvtmitem) EDayView *day_view; GtkStyle *style; GdkFont *small_font, *large_font; - gint digit, large_digit_width, max_large_digit_width; + gint digit, large_digit_width, max_large_digit_width = 0; gint max_suffix_width, max_minute_or_suffix_width; gint column_width_default, column_width_60_min_rows; |