2005-08-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcalendar.c (gtk_calendar_init): Fix the calculation
of week_start. (#314473, JP Rosevaar)
+2005-08-26 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkcalendar.c (gtk_calendar_init): Fix the calculation
+ of week_start. (#314473, JP Rosevaar)
+
2005-08-25 Thomas Fitzsimmons <fitzsim@redhat.com>
* gtk/gtkfilesystemmodel.c (idle_finished_loading_cb): Acquire GDK
+2005-08-26 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkcalendar.c (gtk_calendar_init): Fix the calculation
+ of week_start. (#314473, JP Rosevaar)
+
2005-08-25 Thomas Fitzsimmons <fitzsim@redhat.com>
* gtk/gtkfilesystemmodel.c (idle_finished_loading_cb): Acquire GDK
#ifdef HAVE__NL_TIME_FIRST_WEEKDAY
week_start = nl_langinfo (_NL_TIME_FIRST_WEEKDAY);
- priv->week_start = *((unsigned char *) week_start) % 7 - 1;
+ priv->week_start = (*((unsigned char *) week_start) - 1) % 7;
#else
/* Translate to calendar:week_start:0 if you want Sunday to be the
* first day of the week to calendar:week_start:1 if you want Monday