aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/eventedit.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@nuclecu.unam.mx>1998-06-05 07:58:58 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-06-05 07:58:58 +0800
commit463f842fc090709b1aa85b08c93d68ca12b6c70c (patch)
treed2679bc4b0d7e5f3ce928f1ee8ac625684af36a9 /calendar/gui/eventedit.c
parent8ab35d7ba084934eca8550eef0f873e5125b3545 (diff)
downloadgsoc2013-evolution-463f842fc090709b1aa85b08c93d68ca12b6c70c.tar
gsoc2013-evolution-463f842fc090709b1aa85b08c93d68ca12b6c70c.tar.gz
gsoc2013-evolution-463f842fc090709b1aa85b08c93d68ca12b6c70c.tar.bz2
gsoc2013-evolution-463f842fc090709b1aa85b08c93d68ca12b6c70c.tar.lz
gsoc2013-evolution-463f842fc090709b1aa85b08c93d68ca12b6c70c.tar.xz
gsoc2013-evolution-463f842fc090709b1aa85b08c93d68ca12b6c70c.tar.zst
gsoc2013-evolution-463f842fc090709b1aa85b08c93d68ca12b6c70c.zip
Do not subtract 1 from tm->tm_mday for the default_day.
1998-06-04 Federico Mena Quintero <federico@nuclecu.unam.mx> * eventedit.c (ee_rp_init_rule): Do not subtract 1 from tm->tm_mday for the default_day. * gnome-cal.c (gnome_calendar_new): (gnome_calendar_goto): Use the start of the day -- things expect it to be that way. svn path=/trunk/; revision=244
Diffstat (limited to 'calendar/gui/eventedit.c')
-rw-r--r--calendar/gui/eventedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/eventedit.c b/calendar/gui/eventedit.c
index 7a686ec264..4cc9ce65b6 100644
--- a/calendar/gui/eventedit.c
+++ b/calendar/gui/eventedit.c
@@ -965,7 +965,7 @@ ee_rp_init_rule (EventEditor *ee)
/* Default to today */
week_vector = 1 << tm->tm_wday;
- default_day = tm->tm_mday - 1;
+ default_day = tm->tm_mday;
def_pos = 0;
def_off = 0;