summaryrefslogtreecommitdiff
path: root/src/libical/vcomponent_cxx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libical/vcomponent_cxx.cpp')
-rw-r--r--src/libical/vcomponent_cxx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libical/vcomponent_cxx.cpp b/src/libical/vcomponent_cxx.cpp
index 23c90b5c..bdf2a78d 100644
--- a/src/libical/vcomponent_cxx.cpp
+++ b/src/libical/vcomponent_cxx.cpp
@@ -586,7 +586,7 @@ bool VComponent::remove(VComponent &fromVC, bool ignoreValue)
// recursively go down the components
c->remove(*comp, ignoreValue);
// if all properties are removed and there is no sub-components, then
- // remove this compoent
+ // remove this component
if ((c->count_properties(ICAL_ANY_PROPERTY) == 0) &&
(c->count_components(ICAL_ANY_COMPONENT) == 0)) {
this->remove_component(c);