summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-03 23:35:26 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-03 23:35:26 +0000
commitfd5459fd2df7e0a6c3b5288b3874a4fed5813202 (patch)
treee6b3134ce098cc8ae89e3b0d39e7080cb4954017
parentc54c3c07f612a7e039b015e8a2c4d8ec9ca5e9ff (diff)
downloadkopete-otr-fd5459fd2df7e0a6c3b5288b3874a4fed5813202.tar.gz
kopete-otr-fd5459fd2df7e0a6c3b5288b3874a4fed5813202.zip
Fix kopete-otr FTBFS
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kopete-otr@1239188 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--src/otrlchatinterface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/otrlchatinterface.cpp b/src/otrlchatinterface.cpp
index 65d0df6..f89ebec 100644
--- a/src/otrlchatinterface.cpp
+++ b/src/otrlchatinterface.cpp
@@ -380,7 +380,7 @@ int OtrlChatInterface::decryptMessage( TQString *msg, TQString accountId,
if( newMessage != NULL ){
*msg = TQString::fromUtf8(newMessage);
otrl_message_free( newMessage );
- msg->tqreplace( TQString('\n'), TQString("<br>"), false );
+ msg->tqreplace( TQString("\n"), TQString("<br>"), false );
}
}
return ignoremessage;
@@ -391,7 +391,7 @@ TQString OtrlChatInterface::encryptMessage( TQString msg, TQString accountId,
int err;
char * newMessage;
if( otrl_proto_message_type( msg ) == OTRL_MSGTYPE_NOTOTR ){
- msg.tqreplace( TQString('<'), TQString("&lt;"), false );
+ msg.tqreplace( TQString("<"), TQString("&lt;"), false );
err = otrl_message_sending( userstate, &ui_ops, chatSession, accountId.latin1(), protocol.latin1(), contactId.latin1(), msg.utf8(), NULL, &newMessage, NULL, NULL );
if( err != 0 ){