mail[Wesnoth-commits] r40333 - /trunk/src/color_range.cpp


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

Header


Content

Posted by guillaume . melquiond on December 22, 2009 - 14:53:
Author: silene
Date: Tue Dec 22 14:53:08 2009
New Revision: 40333

URL: http://svn.gna.org/viewcvs/wesnoth?rev=40333&view=rev
Log:
Removed useless initialization.

Modified:
    trunk/src/color_range.cpp

Modified: trunk/src/color_range.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/color_range.cpp?rev=40333&r1=40332&r2=40333&view=diff
==============================================================================
--- trunk/src/color_range.cpp (original)
+++ trunk/src/color_range.cpp Tue Dec 22 14:53:08 2009
@@ -153,7 +153,7 @@
 
 std::string rgb2highlight(Uint32 rgb)
 {
-       std::stringstream h("");
+       std::ostringstream h;
        // Must match what the escape interpreter for marked-up-text expects
        h << "<" << ((rgb & 0xFF0000) >> 16)
          << "," << ((rgb & 0x00FF00) >> 8)




Related Messages


Powered by MHonArc, Updated Tue Dec 22 15:02:46 2009