libical r644 - in trunk: . src/libical
- From: pchen svn gnome org
- To: svn-commits-list gnome org
- Subject: libical r644 - in trunk: . src/libical
- Date: Fri, 6 Jun 2008 07:53:49 +0000 (UTC)
Author: pchen
Date: Fri Jun 6 07:53:49 2008
New Revision: 644
URL: http://svn.gnome.org/viewvc/libical?rev=644&view=rev
Log:
2008-06-06 Chenthill Palanisamy <pchenthill novell com>
* src/libical/icaltz-util.c: (icaltzutil_fetch_timezone): If
* there are no transitions take the index for types as 0.
Modified:
trunk/ChangeLog
trunk/src/libical/icaltz-util.c
Modified: trunk/src/libical/icaltz-util.c
==============================================================================
--- trunk/src/libical/icaltz-util.c (original)
+++ trunk/src/libical/icaltz-util.c Fri Jun 6 07:53:49 2008
@@ -148,7 +148,7 @@
/* If the transition time is not found, it means the timezone does not have the dst changes */
if (!found) {
- *stdidx = i -1;
+ *stdidx = i-1;
return;
}
@@ -326,9 +326,9 @@
icalcomponent_add_property (tz_comp, icalprop);
if (stdidx != -1) {
- if (stdidx != 0)
+ if (num_trans != 0)
zidx = trans_idx [stdidx];
- else
+ else
zidx = 0;
std_comp = icalcomponent_new (ICAL_XSTANDARD_COMPONENT);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]