[PATCH] Fix some typos
Dmitri Paduchikh
dpaduchikh на gmail.com
Сб Фев 23 07:47:37 MSK 2013
---
daemon/core/TextProcessor.cpp | 2 +-
data/chars-table | 6 +++---
data/replacements.all | 2 +-
executors/default.c | 4 ++--
utils/vmstrings.h | 8 ++++----
5 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/daemon/core/TextProcessor.cpp b/daemon/core/TextProcessor.cpp
index 21d0b5c..737957f 100644
--- a/daemon/core/TextProcessor.cpp
+++ b/daemon/core/TextProcessor.cpp
@@ -74,7 +74,7 @@ void TextProcessor::processLetter(wchar_t c, TextParam volume, TextParam pitch,
WCharToLangIdMap::const_iterator it = m_charsTable.find(c);
if (it != m_charsTable.end())
{
- if (it->second == LANG_ID_NONE)//it is letter for defautl language;
+ if (it->second == LANG_ID_NONE) // letter for default language
langId = m_defaultLangId; else
langId = it->second;
} //there is entry in characters table;
diff --git a/data/chars-table b/data/chars-table
index ac16dae..5563a8d 100644
--- a/data/chars-table
+++ b/data/chars-table
@@ -1,4 +1,4 @@
-# Deigits:
+# Digits:
0:zero
1:one
2:two
@@ -12,7 +12,7 @@
# Symbols:
.:dot
-,:coma
+,:comma
;:semicolon
_:under line
-:dash
@@ -30,7 +30,7 @@ _:under line
|:bar
?:question
~:tilde
-`:groff
+`:grave
!:exclaim
@:at
"#":sharp
diff --git a/data/replacements.all b/data/replacements.all
index b575549..047a7d3 100644
--- a/data/replacements.all
+++ b/data/replacements.all
@@ -2,7 +2,7 @@
# For english language:
eng:.:" dot "
-eng:,:" coma "
+eng:,:" comma "
eng:;:" semicolon "
eng:":":" colon "
eng:_:" under line "
diff --git a/executors/default.c b/executors/default.c
index 8347722..ab7148f 100644
--- a/executors/default.c
+++ b/executors/default.c
@@ -445,7 +445,7 @@ void stop()
fflush(stdout);
}
-/*This function returnes zero if there is no more data and handle can be closed*/
+/*This function returns zero if there is no more data and handle can be closed*/
char processInputCommand(int fd)
{
CommandHeader header;
@@ -597,7 +597,7 @@ int mainLoop(int fd, sigset_t* sigMask)
onSystemCallError("pselect()", errorCode);
} /*if (pselect() == -1)*/
assert(FD_ISSET(fd, &fds));
- if (!processInputCommand(fd))/*this function returnes zero if fd was closed*/
+ if (!processInputCommand(fd)) /* function returns 0 if fd was closed */
return 0;
} /*while(1)*/
}
diff --git a/utils/vmstrings.h b/utils/vmstrings.h
index b585edb..c051776 100644
--- a/utils/vmstrings.h
+++ b/utils/vmstrings.h
@@ -662,10 +662,10 @@ T getDelimitedSubStr(const T& s, size_t index, char delimiter)
/**\brief Enumerates sequences in string of characters from specified set
*
- * This class takes two string at the construction: first string
+ * This class takes two strings at the construction: first string
* specifies string to look through, second string specifies set of
* characters to search in first one. During the enumeration this class
- * returnes all substrings of maximum length with specified characters.
+ * returns all substrings of maximum length with specified characters.
*
* \sa StringDelimitedIterator
*/
@@ -776,10 +776,10 @@ private:
/**\brief Enumerates sequences in string separated by characters from specified set
*
- * This class takes two string at the construction: first string
+ * This class takes two strings at the construction: first string
* specifies string to look through, second string specifies set of
* characters to separate parts to enumerate. During the enumeration this class
- * returnes all substrings of maximum length separated by specified characters.
+ * returns all substrings of maximum length separated by specified characters.
*
* \sa StringIterator
*/
--
1.8.1.4
Подробная информация о списке рассылки Homeros