summaryrefslogtreecommitdiffstats
path: root/kbattleship/kbattleship/kbattleshipserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbattleship/kbattleship/kbattleshipserver.cpp')
-rw-r--r--kbattleship/kbattleship/kbattleshipserver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kbattleship/kbattleship/kbattleshipserver.cpp b/kbattleship/kbattleship/kbattleshipserver.cpp
index 34be153d..7b10d4fd 100644
--- a/kbattleship/kbattleship/kbattleshipserver.cpp
+++ b/kbattleship/kbattleship/kbattleshipserver.cpp
@@ -85,7 +85,7 @@ void KBattleshipServer::slotReadClient()
m_readBuffer += TQString::fromUtf8(buf);
delete []buf;
int pos;
- while ((pos = m_readBuffer.tqfind("</kmessage>")) >= 0)
+ while ((pos = m_readBuffer.find("</kmessage>")) >= 0)
{
pos += 11; // Length of "</kmessage>"
KMessage *msg = new KMessage();