summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2022-10-05 17:07:27 -0400
committerAllen Winter <allen.winter@kdab.com>2022-10-05 17:07:27 -0400
commit8bdc40c008023d3b04edf95b1a6773ec3ebb6d7d (patch)
treee355adab7bd9837d33234e8d3d1e4bf398f259c9 /src
parentdaed6c181f43e573f8f49272571ce46ab79aef36 (diff)
downloadlibical-git-8bdc40c008023d3b04edf95b1a6773ec3ebb6d7d.tar.gz
codespelling fixes
Diffstat (limited to 'src')
-rw-r--r--src/Net-ICal-Libical/netical.i2
-rw-r--r--src/libical-glib/api/i-cal-time.xml2
-rw-r--r--src/libical/icalproperty.c2
-rw-r--r--src/libical/icaltime.h4
-rw-r--r--src/libical/pvl.c2
-rw-r--r--src/python/Time.py2
6 files changed, 7 insertions, 7 deletions
diff --git a/src/Net-ICal-Libical/netical.i b/src/Net-ICal-Libical/netical.i
index ab06efbd..e211ee88 100644
--- a/src/Net-ICal-Libical/netical.i
+++ b/src/Net-ICal-Libical/netical.i
@@ -197,7 +197,7 @@ struct icaltimetype icaltime_from_timet_with_zone(int v, int is_date, const char
into a pointer */
int icaltime_as_timet(struct icaltimetype);
-/* Returns a string represention of the time, in RFC2445 format. The
+/* Returns a string representation of the time, in RFC2445 format. The
string is owned by libical */
char* icaltime_as_ical_string(struct icaltimetype tt);
diff --git a/src/libical-glib/api/i-cal-time.xml b/src/libical-glib/api/i-cal-time.xml
index c319ea08..62f894ad 100644
--- a/src/libical-glib/api/i-cal-time.xml
+++ b/src/libical-glib/api/i-cal-time.xml
@@ -81,7 +81,7 @@
<method name="i_cal_time_as_ical_string" corresponds="icaltime_as_ical_string_r" since="1.0">
<parameter type="const ICalTime *" name="tt" comment="The #ICalTime to be converted"/>
<returns type="gchar *" annotation="transfer full" comment="The string representation" />
- <comment xml:space="preserve">Returns a string represention of the time, in RFC2445 format.</comment>
+ <comment xml:space="preserve">Returns a string representation of the time, in RFC2445 format.</comment>
</method>
<method name="i_cal_time_get_timezone" corresponds="(void *)icaltime_get_timezone" kind="get" since="1.0">
<parameter type="const ICalTime *" name="tt" annotation="in, transfer none" comment="The #ICalTime to be queried"/>
diff --git a/src/libical/icalproperty.c b/src/libical/icalproperty.c
index 661d2547..15dc7320 100644
--- a/src/libical/icalproperty.c
+++ b/src/libical/icalproperty.c
@@ -258,7 +258,7 @@ static char *get_next_line_start(char *line_start, size_t chars_left)
return line_start + MAX_LINE_LEN - 1;
}
-/** This splits the property into lines less than 75 octects long (as
+/** This splits the property into lines less than 75 octets long (as
* specified in RFC5545). It tries to split after a ';' if it can.
* It returns a tmp buffer. NOTE: I'm not sure if it matters if we
* split a line in the middle of a UTF-8 character. It probably won't
diff --git a/src/libical/icaltime.h b/src/libical/icaltime.h
index e7c7d1a2..816eac6f 100644
--- a/src/libical/icaltime.h
+++ b/src/libical/icaltime.h
@@ -215,7 +215,7 @@ LIBICAL_ICAL_EXPORT time_t icaltime_as_timet_with_zone(const struct icaltimetype
const icaltimezone *zone);
/**
- * @brief Returns a string represention of the time, in RFC5545 format.
+ * @brief Returns a string representation of the time, in RFC5545 format.
*
* @par Ownership
* The created string is owned by libical.
@@ -223,7 +223,7 @@ LIBICAL_ICAL_EXPORT time_t icaltime_as_timet_with_zone(const struct icaltimetype
LIBICAL_ICAL_EXPORT const char *icaltime_as_ical_string(const struct icaltimetype tt);
/**
- * @brief Returns a string represention of the time, in RFC5545 format.
+ * @brief Returns a string representation of the time, in RFC5545 format.
*
* @par Ownership
* The string is owned by the caller.
diff --git a/src/libical/pvl.c b/src/libical/pvl.c
index 4f66c920..960941a7 100644
--- a/src/libical/pvl.c
+++ b/src/libical/pvl.c
@@ -109,7 +109,7 @@ void pvl_free(pvl_list l)
* @brief Creates a new list element, assigns a magic number, and assigns
* the next and previous pointers.
*
- * Passing in the next and previous points may seem odd, but it allos the user
+ * Passing in the next and previous points may seem odd, but it allows the user
* to set them while keeping the internal data hidden. In nearly all cases,
* the user is the pvl library itself.
*
diff --git a/src/python/Time.py b/src/python/Time.py
index f94770ce..d5e092ca 100644
--- a/src/python/Time.py
+++ b/src/python/Time.py
@@ -216,4 +216,4 @@ class Time(Property):
seconds = self.utc_seconds() - other.seconds()
return Time(seconds)
else:
- raise TypeError, "subtraction with Time reqires Time or Duration"
+ raise TypeError, "subtraction with Time requires Time or Duration"