diff options
-rw-r--r-- | calendar/ChangeLog | 4 | ||||
-rw-r--r-- | calendar/gui/e-day-view.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 6a49d2b891..0fae81da76 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,5 +1,9 @@ 2000-11-26 Damon Chaplin <damon@helixcode.com> + * gui/e-day-view.c (e_day_view_set_days_shown): == instead of =. + +2000-11-26 Damon Chaplin <damon@helixcode.com> + * gui/gnome-cal.c: added more support for config settings. * gui/e-week-view.[hc]: diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c index 9d7782462c..9ea4dae4c4 100644 --- a/calendar/gui/e-day-view.c +++ b/calendar/gui/e-day-view.c @@ -2039,7 +2039,7 @@ e_day_view_set_days_shown (EDayView *day_view, g_return_if_fail (days_shown >= 1); g_return_if_fail (days_shown <= E_DAY_VIEW_MAX_DAYS); - if (day_view->days_shown = days_shown) + if (day_view->days_shown == days_shown) return; day_view->days_shown = days_shown; |