mail[Wesnoth-commits] r43335 - /trunk/src/multiplayer.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:02:
Author: mordante
Date: Sat Jun 12 18:02:48 2010
New Revision: 43335

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

Modified:
    trunk/src/multiplayer.cpp

Modified: trunk/src/multiplayer.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/multiplayer.cpp?rev=43335&r1=43334&r2=43335&view=diff
==============================================================================
--- trunk/src/multiplayer.cpp (original)
+++ trunk/src/multiplayer.cpp Sat Jun 12 18:02:48 2010
@@ -69,7 +69,10 @@
        font::cache_mode(font::CACHE_LOBBY);
        while (ui.get_result() == mp::ui::CONTINUE) {
                if (disp.video().modeChanged() || first) {
-                       SDL_Rect lobby_pos = { 0, 0, disp.video().getx(), 
disp.video().gety() };
+                       SDL_Rect lobby_pos = create_rect(0
+                                       , 0
+                                       , disp.video().getx()
+                                       , disp.video().gety());
                        ui.set_location(lobby_pos);
                        first = false;
                }




Related Messages


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