summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/fqterm.h2
-rw-r--r--src/common/fqterm_font.cpp2
-rw-r--r--src/common/fqterm_param.h2
-rw-r--r--src/common/fqterm_sound.cpp2
-rw-r--r--src/common/fqterm_trace.h2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/common/fqterm.h b/src/common/fqterm.h
index 6cb9c67..3fad56f 100644
--- a/src/common/fqterm.h
+++ b/src/common/fqterm.h
@@ -104,7 +104,7 @@ inline QString encoding2unicode(const QByteArray &text, int encoding) {
// every character has a 16-bit description
// low 8 for colors
-// hight 8 for attributes
+// high 8 for attributes
#define COLORMASK 0x00ff
#define ATTRMASK 0xff00
diff --git a/src/common/fqterm_font.cpp b/src/common/fqterm_font.cpp
index f2dcfbd..b7eb771 100644
--- a/src/common/fqterm_font.cpp
+++ b/src/common/fqterm_font.cpp
@@ -238,7 +238,7 @@ QString getDefaultFontFamilyForLanguage(bool isEnglish) {
make_pair(lang, getFontFamilyForLang(lang)));
it = langs_fonts_list.find(lang);
- FQ_TRACE("font", 3) << "Defaut font for "
+ FQ_TRACE("font", 3) << "Default font for "
<< Font::getLanguageName(lang)
<< " is: "
<< it->second
diff --git a/src/common/fqterm_param.h b/src/common/fqterm_param.h
index d5d87c4..61b5725 100644
--- a/src/common/fqterm_param.h
+++ b/src/common/fqterm_param.h
@@ -182,7 +182,7 @@ class FQTermParam {
// Send When Idle
QString antiIdleMessage_;
bool isAntiIdle_;
- // wether autoreply
+ // whether autoreply
bool isAutoReply_;
// Auto Reply Messages
QString autoReplyMessage_;
diff --git a/src/common/fqterm_sound.cpp b/src/common/fqterm_sound.cpp
index 96bcc83..9fd13a1 100644
--- a/src/common/fqterm_sound.cpp
+++ b/src/common/fqterm_sound.cpp
@@ -230,7 +230,7 @@ static void dumpData24 (int audiofd, int soundfd, int filesize) {
unsigned int *u32 = (unsigned int *)&sample_s32; /* Alias */
- /* Read the litle endian input samples */
+ /* Read the little endian input samples */
*u32 = (buf[i] << 8) | (buf[i+1] << 16) | (buf[i+2]<<24);
outbuf[outlen++]=sample_s32;
diff --git a/src/common/fqterm_trace.h b/src/common/fqterm_trace.h
index 627cbca..6c2ffbe 100644
--- a/src/common/fqterm_trace.h
+++ b/src/common/fqterm_trace.h
@@ -117,7 +117,7 @@ class FQTermTrace {
if (trace_level < 0) {
soft_break();
assert(false);
- qFatal("Fatal error occured!\n");
+ qFatal("Fatal error occurred!\n");
}
}
}