------------------------------------------------------------
revno: 2902
committer: poy <[email protected]>
branch nick: trunk
timestamp: Mon 2012-04-16 18:37:20 +0200
message:
suffix friendly magnets
modified:
dcpp/ChatMessage.cpp
--
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 'dcpp/ChatMessage.cpp'
--- dcpp/ChatMessage.cpp 2012-03-21 18:58:05 +0000
+++ dcpp/ChatMessage.cpp 2012-04-16 16:37:20 +0000
@@ -148,6 +148,7 @@
if(!name.empty()) {
// magnet link: replace with the friendly name
+ name += " (magnet)";
tmp.replace(begin, end - begin, name);
end += name.size() - link.size();
}
_______________________________________________
Mailing list: https://launchpad.net/~linuxdcpp-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~linuxdcpp-team
More help : https://help.launchpad.net/ListHelp