From 202e75590f8200823ef0efd36cc0edbd1bf1edcc Mon Sep 17 00:00:00 2001 From: "luz.paz" Date: Mon, 8 Jan 2018 16:50:51 -0500 Subject: Misc. typos Found via `codespell` --- src/util/enums.h | 2 +- src/util/expression-evaluator.cpp | 2 +- src/util/ziptool.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/util') 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 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 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; -- cgit v1.2.3