summaryrefslogtreecommitdiffstats
path: root/kopete
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-04-05 13:15:54 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-04-05 13:15:54 -0500
commit8f8f58d043eacff188d65eae2112dfa57e49295e (patch)
treee82d01bc0091b148caa15c1e84f15ed82613b01e /kopete
parent391ec4487de7f20cbf2affe8e3f3df070c1dab30 (diff)
downloadtdenetwork-8f8f58d043eacff188d65eae2112dfa57e49295e.tar.gz
tdenetwork-8f8f58d043eacff188d65eae2112dfa57e49295e.zip
Fix typos.
Diffstat (limited to 'kopete')
-rw-r--r--kopete/plugins/statistics/statisticscontact.cpp4
-rw-r--r--kopete/protocols/msn/msnnotifysocket.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/kopete/plugins/statistics/statisticscontact.cpp b/kopete/plugins/statistics/statisticscontact.cpp
index d811e4d2..badaf147 100644
--- a/kopete/plugins/statistics/statisticscontact.cpp
+++ b/kopete/plugins/statistics/statisticscontact.cpp
@@ -225,7 +225,7 @@ void StatisticsContact::commonStatsCheck(const TQString name, TQString& statVar1
*
* Then it is only a question of some calculations.
*
- * <li>Recalculate the average message lenght
+ * <li>Recalculate the average message length
*
* <li>Change last-talk datetime
* </ul>
@@ -248,7 +248,7 @@ void StatisticsContact::newMessageReceived(Kopete::Message& m)
m_lastMessageReceived = currentDateTime;
- // Message lenght
+ // Message length
m_messageLength= (m.plainBody().length() + m_messageLength * m_messageLengthOn)/(1 + m_messageLengthOn);
m_messageLengthOn++;
diff --git a/kopete/protocols/msn/msnnotifysocket.cpp b/kopete/protocols/msn/msnnotifysocket.cpp
index b9dbb921..1093370a 100644
--- a/kopete/protocols/msn/msnnotifysocket.cpp
+++ b/kopete/protocols/msn/msnnotifysocket.cpp
@@ -1120,7 +1120,7 @@ void MSNNotifySocket::changePublicName( const TQString &publicName, const TQStri
TQString tempPublicName = publicName;
//The maximum length is 387. but with utf8 or encodage, each character may be triple
- // 387/3 = 129 so we make sure the lenght is not logner than 129 char, even if
+ // 387/3 = 129 so we make sure the length is not longer than 129 char, even if
// it's possible to have longer nicks.
if( escape(publicName).length() > 129 )
{