← Back to team overview

linuxdcpp-team team mailing list archive

[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 2155: fix a chat crash with VS

 

------------------------------------------------------------
revno: 2155
committer: poy <poy@xxxxxxxxxx>
branch nick: repo
timestamp: Thu 2010-05-27 21:11:07 +0200
message:
  fix a chat crash with VS
modified:
  win32/AspectChat.h


--
lp:dcplusplus
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk

Your team Dcplusplus-team is subscribed to branch lp:dcplusplus.
To unsubscribe from this branch go to https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk/+edit-subscription
=== modified file 'win32/AspectChat.h'
--- win32/AspectChat.h	2010-05-10 17:13:53 +0000
+++ win32/AspectChat.h	2010-05-27 19:11:07 +0000
@@ -64,7 +64,7 @@
 	virtual ~AspectChat() { }
 
 	tstring formatChatMessage(Client* aClient, const tstring& aLine) {
-		return _T("{\\urtf1\n") + chat->rtfEscape(aLine) + _T("}\n");
+		return Text::toT("{\\urtf1\n") + chat->rtfEscape(aLine) + Text::toT("}\n");
 	}
 
 	void addChat(Client* aClient, const tstring& aLine) {