summaryrefslogtreecommitdiff
path: root/src/libicalvcal
diff options
context:
space:
mode:
authorДилян Палаузов <git-dpa@aegee.org>2022-12-08 20:56:04 +0200
committerAllen Winter <allen.winter@kdab.com>2022-12-10 06:06:11 -0500
commit708db8d2aa747b80db29815a57a377ffe34e7868 (patch)
tree966ae512d27327b5f57b2dc43c72483df2401e04 /src/libicalvcal
parent1da793fee7a553790fa6fed919dacc4210b98969 (diff)
downloadlibical-git-708db8d2aa747b80db29815a57a377ffe34e7868.tar.gz
Typos a/an
Diffstat (limited to 'src/libicalvcal')
-rw-r--r--src/libicalvcal/README.txt2
-rw-r--r--src/libicalvcal/icalvcal.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/libicalvcal/README.txt b/src/libicalvcal/README.txt
index 734c30a4..3f9f2d8a 100644
--- a/src/libicalvcal/README.txt
+++ b/src/libicalvcal/README.txt
@@ -486,7 +486,7 @@ d. properties name (id) are case insensitive.
-- set an integer value of a VObject.
void setVObjectLongValue(VObject *o, unsigned long l);
- -- set an long integer value of a VObject.
+ -- set a long integer value of a VObject.
void setVObjectAnyValue(VObject *o, void *t);
-- set any value of a VObject. The value type is
diff --git a/src/libicalvcal/icalvcal.c b/src/libicalvcal/icalvcal.c
index 01c32c6f..c7ddcb2d 100644
--- a/src/libicalvcal/icalvcal.c
+++ b/src/libicalvcal/icalvcal.c
@@ -112,7 +112,7 @@ static void convert_floating_time_to_utc(struct icaltimetype *itt)
icaltime_t t;
/* We assume the floating time is using the current Unix timezone.
- So we convert to a icaltime_t using icalmktime(), and then back to a struct tm
+ So we convert to an icaltime_t using icalmktime(), and then back to a struct tm
using icalgmtime_r, so it is the UTC time. */
tmp_tm.tm_year = itt->year - 1900;
tmp_tm.tm_mon = itt->month - 1;
@@ -122,7 +122,7 @@ static void convert_floating_time_to_utc(struct icaltimetype *itt)
tmp_tm.tm_sec = itt->second;
tmp_tm.tm_isdst = -1;
- /* Convert to a icaltime_t. */
+ /* Convert to an icaltime_t. */
t = icalmktime(&tmp_tm);
/* Now convert back to a struct tm, but with a UTC time. */