diff options
author | JP Rosevear <jpr@helixcode.com> | 2000-12-05 05:51:44 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2000-12-05 05:51:44 +0800 |
commit | 6e8a9dfec1325b2fb7b28a9b29b952bda6f7f533 (patch) | |
tree | 46124fbaa90baab4866656acc1a71f57be07f05b | |
parent | 30b66ebe39c81139ae135c4985a16783b221e492 (diff) | |
download | gsoc2013-evolution-6e8a9dfec1325b2fb7b28a9b29b952bda6f7f533.tar.gz gsoc2013-evolution-6e8a9dfec1325b2fb7b28a9b29b952bda6f7f533.tar.zst gsoc2013-evolution-6e8a9dfec1325b2fb7b28a9b29b952bda6f7f533.zip |
Initialize max_large_digit_width to 0 to prevent crazy sizing issues.
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.
svn path=/trunk/; revision=6782
-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; |