aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/config-manager.cpp2
-rw-r--r--common/fs.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/common/config-manager.cpp b/common/config-manager.cpp
index 7ea59b65d3..d32919185f 100644
--- a/common/config-manager.cpp
+++ b/common/config-manager.cpp
@@ -128,7 +128,7 @@ void ConfigManager::loadFromStream(SeekableReadStream &stream) {
if (*p == '\0')
error("Config file buggy: missing ] in line %d", lineno);
else if (*p != ']')
- error("Config file buggy: Invalid character '%c' occured in section name in line %d", *p, lineno);
+ error("Config file buggy: Invalid character '%c' occurred in section name in line %d", *p, lineno);
domain = String(line.c_str() + 1, p);
diff --git a/common/fs.h b/common/fs.h
index b8e6aeecc4..bfbbb532e0 100644
--- a/common/fs.h
+++ b/common/fs.h
@@ -140,7 +140,7 @@ public:
virtual String getDisplayName() const;
/**
- * Return a string representation of the name of the file. This is can be
+ * Return a string representation of the name of the file. This can be
* used e.g. by detection code that relies on matching the name of a given
* file. But it is *not* suitable for use with fopen / File::open, nor
* should it be archived.