summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorluz.paz <luzpaz@users.noreply.github.com>2018-01-08 21:50:51 +0000
committerluz.paz <luzpaz@users.noreply.github.com>2018-01-08 21:50:51 +0000
commit202e75590f8200823ef0efd36cc0edbd1bf1edcc (patch)
tree1a18f646f7e49b0e1836efd6401793f6e9c38d68 /src/util
parentRestore ability to switch mode while using spray tool (is this even useful?). (diff)
downloadinkscape-202e75590f8200823ef0efd36cc0edbd1bf1edcc.tar.gz
inkscape-202e75590f8200823ef0efd36cc0edbd1bf1edcc.zip
Misc. typos
Found via `codespell`
Diffstat (limited to 'src/util')
-rw-r--r--src/util/enums.h2
-rw-r--r--src/util/expression-evaluator.cpp2
-rw-r--r--src/util/ziptool.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/util/enums.h b/src/util/enums.h
index 34138ad21..2ff5a0af8 100644
--- a/src/util/enums.h
+++ b/src/util/enums.h
@@ -19,7 +19,7 @@ namespace Util {
* Simplified management of enumerations of svg items with UI labels.
* IMPORTANT:
* When initializing the EnumData struct, you cannot use _(...) to translate strings.
- * Instead, one must use N_(...) and do the translation every time the string is retreived.
+ * Instead, one must use N_(...) and do the translation every time the string is retrieved.
*/
template<typename E>
struct EnumData
diff --git a/src/util/expression-evaluator.cpp b/src/util/expression-evaluator.cpp
index dd7ce97f7..0a2dd6d50 100644
--- a/src/util/expression-evaluator.cpp
+++ b/src/util/expression-evaluator.cpp
@@ -274,7 +274,7 @@ void ExpressionEvaluator::parseNextToken()
// We're all done
current_token.type = TOKEN_END;
} else if ( s[0] == '+' || s[0] == '-' ) {
- // Snatch these before the g_strtod() does, othewise they might
+ // Snatch these before the g_strtod() does, otherwise they might
// be used in a numeric conversion.
acceptTokenCount(1, s[0]);
} else {
diff --git a/src/util/ziptool.cpp b/src/util/ziptool.cpp
index 2eb516b2e..b8253627c 100644
--- a/src/util/ziptool.cpp
+++ b/src/util/ziptool.cpp
@@ -2602,7 +2602,7 @@ bool ZipFile::readFileData()
//#### Uncompress the data
std::vector<unsigned char> compBuf;
- if (gpBitFlag & 0x8)//bit 3 was set. means we dont know compressed size
+ if (gpBitFlag & 0x8)//bit 3 was set. means we don't know compressed size
{
unsigned char c1, c2, c3, c4;
c2 = c3 = c4 = 0;