mail[Wesnoth-commits] r34231 - /branches/1.6/src/multiplayer_ui.cpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by thomas . baumhauer on March 29, 2009 - 11:12:
Author: baufo
Date: Sun Mar 29 11:12:26 2009
New Revision: 34231

URL: http://svn.gna.org/viewcvs/wesnoth?rev=34231&view=rev
Log:
backporting r34230

Modified:
    branches/1.6/src/multiplayer_ui.cpp

Modified: branches/1.6/src/multiplayer_ui.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/branches/1.6/src/multiplayer_ui.cpp?rev=34231&r1=34230&r2=34231&view=diff
==============================================================================
--- branches/1.6/src/multiplayer_ui.cpp (original)
+++ branches/1.6/src/multiplayer_ui.cpp Sun Mar 29 11:12:26 2009
@@ -254,6 +254,9 @@
        if(message.user == "server") {
                int unused;
                font::parse_markup(message.message.begin(), 
message.message.end(), &unused, &c, &unused);
+       // Highlight private messages too
+       } else if(message.user.substr(0,8) == "whisper:") {
+           c = font::LABEL_COLOUR;
        }
        return c;
 };




Related Messages


Powered by MHonArc, Updated Sun Mar 29 11:20:25 2009