mail[Wesnoth-commits] r43354 - /trunk/src/intro.cpp


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

Header


Content

Posted by koraq on June 12, 2010 - 18:03:
Author: mordante
Date: Sat Jun 12 18:03:50 2010
New Revision: 43354

URL: http://svn.gna.org/viewcvs/wesnoth?rev=43354&view=rev
Log:
Make Wesnoth more compatible with C++0x (g++-4.5).

Modified:
    trunk/src/intro.cpp

Modified: trunk/src/intro.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/intro.cpp?rev=43354&r1=43353&r2=43354&view=diff
==============================================================================
--- trunk/src/intro.cpp (original)
+++ trunk/src/intro.cpp Sat Jun 12 18:03:50 2010
@@ -67,7 +67,7 @@
                if(n)
                        SDL_FillRect(video.getSurface(),&area,0);
 
-               const SDL_Color col = {n,n,n,n};
+               const SDL_Color col = create_color(n, n, n, n);
                font::draw_text(&video,area,font_size,col,text,area.x,area.y);
                update_rect(area);
 




Related Messages


Powered by MHonArc, Updated Sat Jun 12 18:20:18 2010