time-specific events to be displayed as all-day events.
+Mon Oct 24 22:18:25 EDT 2005 ajc
+* calendar_view.c: fixed a variable initialization bug that was causing some
+ time-specific events to be displayed as all-day events.
+
Mon Oct 24 11:58:53 EDT 2005 ajc
* List sub/unsub confirmation -- Citadel now wants http:// or https://
prepended as part of the 'submitted subscribe url' so we are now doing
if (p != NULL) {
t = icalproperty_get_dtstart(p);
event_tt = icaltime_as_timet(t);
- if (t.is_date) all_day_event = 1;
+ if (t.is_date) {
+ all_day_event = 1;
+ }
+ else {
+ all_day_event = 0;
+ }
if (all_day_event) {
event_tm = gmtime(&event_tt);
if (p != NULL) {
t = icalproperty_get_dtstart(p);
event_tt = icaltime_as_timet(t);
- if (t.is_date) all_day_event = 1;
+ if (t.is_date) {
+ all_day_event = 1;
+ }
+ else {
+ all_day_event = 0;
+ }
fmt_time(timestring, event_tt);
if (all_day_event) {