mail[Wesnoth-commits] r33858 - in /trunk: changelog src/gui/widgets/window.cpp


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

Header


Content

Posted by koraq on March 19, 2009 - 21:49:
Author: mordante
Date: Thu Mar 19 21:49:37 2009
New Revision: 33858

URL: http://svn.gna.org/viewcvs/wesnoth?rev=33858&view=rev
Log:
The dialog now always uses the full map area width.

Baufo discovered if the map is smaller as the available map area the
dialogs will use the map width instead of the full area available for
the map. Now always use the available width.

Modified:
    trunk/changelog
    trunk/src/gui/widgets/window.cpp

Modified: trunk/changelog
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/changelog?rev=33858&r1=33857&r2=33858&view=diff
==============================================================================
--- trunk/changelog (original)
+++ trunk/changelog Thu Mar 19 21:49:37 2009
@@ -1,6 +1,7 @@
 Version 1.6a:
  * User interface:
    * Remove a no longer valid assert (bug #13217)
+   * Make sure the dialog always uses the full map area width
 
 Version 1.6:
  * Campaigns:

Modified: trunk/src/gui/widgets/window.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/widgets/window.cpp?rev=33858&r1=33857&r2=33858&view=diff
==============================================================================
--- trunk/src/gui/widgets/window.cpp (original)
+++ trunk/src/gui/widgets/window.cpp Thu Mar 19 21:49:37 2009
@@ -149,8 +149,8 @@
 
                game_display* display = game_display::get_singleton();
                if(display) {
-                       settings::gamemap_width = display->map_area().w;
-                       settings::gamemap_height = display->map_area().h;
+                       settings::gamemap_width = 
display->map_outside_area().w;
+                       settings::gamemap_height = 
display->map_outside_area().h;
                } else {
                        settings::gamemap_width = settings::screen_width;
                        settings::gamemap_height = settings::screen_height;




Related Messages


Powered by MHonArc, Updated Thu Mar 19 22:00:29 2009