diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2005-06-18 04:19:29 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-06-18 04:19:29 +0000 |
commit | fb6ce33533e7f49cf534c5ae4b43e33bdf2f88c2 (patch) | |
tree | db6e0bfe34d560ba8274f19872fccc1abc576788 /gtk/gtkcalendar.c | |
parent | 23fabedc9d8ce980618b356fdb4c4c9904a9ca2c (diff) | |
download | gtk+-fb6ce33533e7f49cf534c5ae4b43e33bdf2f88c2.tar.gz |
Fix nl_langinfo() use
Diffstat (limited to 'gtk/gtkcalendar.c')
-rw-r--r-- | gtk/gtkcalendar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcalendar.c b/gtk/gtkcalendar.c index be5ccff394..239aabc5e2 100644 --- a/gtk/gtkcalendar.c +++ b/gtk/gtkcalendar.c @@ -652,7 +652,7 @@ gtk_calendar_init (GtkCalendar *calendar) #ifdef HAVE__NL_TIME_FIRST_WEEKDAY week_start = nl_langinfo (_NL_TIME_FIRST_WEEKDAY); - priv->week_start = *((unsigned char *) week_start) % 7; + priv->week_start = *((unsigned char *) week_start) % 7 - 1; #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 |