summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2021-04-03 11:08:36 -0400
committerAllen Winter <allen.winter@kdab.com>2021-04-11 14:43:28 -0400
commit4fc983cfc23b959b98636f36d795294596bcf31b (patch)
tree15b3ddf0be1ee3f06e55bcb5e4ba89ef3c728714
parentc52c94e044c896cca78b8252c76677bc71afefe2 (diff)
downloadlibical-git-4fc983cfc23b959b98636f36d795294596bcf31b.tar.gz
icaltz-util.c, icaltime.h - minor coding style
-rw-r--r--src/libical/icaltime.h4
-rw-r--r--src/libical/icaltz-util.c1
2 files changed, 2 insertions, 3 deletions
diff --git a/src/libical/icaltime.h b/src/libical/icaltime.h
index fd03d9c4..d672f2c4 100644
--- a/src/libical/icaltime.h
+++ b/src/libical/icaltime.h
@@ -358,8 +358,8 @@ LIBICAL_ICAL_EXPORT struct icaltimetype icaltime_normalize(const struct icaltime
*
* Converts a time from its native timezone to a given timezone.
*
- * If @p tt is a date, the timezone is not converted and the returned
- * time is an exact copy of @p tt.
+ * If @p tt is a date, the timezone is not converted and the returned
+ * time is an exact copy of @p tt.
*
* If it's a floating time, the returned object
* represents the same time relative to @p zone.
diff --git a/src/libical/icaltz-util.c b/src/libical/icaltz-util.c
index 64c575f8..20642874 100644
--- a/src/libical/icaltz-util.c
+++ b/src/libical/icaltz-util.c
@@ -266,7 +266,6 @@ static char *parse_posix_zone(char *p, ttinfo *type)
if (*p == ':') {
type->gmtoff += strtol(++p, &p, 10);
}
-
return p;
}