Author: dfranke
Date: Mon Apr 13 01:43:16 2009
New Revision: 34833
URL: http://svn.gna.org/viewcvs/wesnoth?rev=34833&view=rev
Log:
Fix the sorting of the XP and traits columns in the unit list dialog. Fixes
the bug part of half-FR half- bug #13360.
Modified:
branches/1.6/src/menu_events.cpp
trunk/src/menu_events.cpp
Modified: branches/1.6/src/menu_events.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/branches/1.6/src/menu_events.cpp?rev=34833&r1=34832&r2=34833&view=diff
==============================================================================
--- branches/1.6/src/menu_events.cpp (original)
+++ branches/1.6/src/menu_events.cpp Mon Apr 13 01:43:16 2009
@@ -207,7 +207,7 @@
gui::menu::basic_sorter sorter;
sorter.set_alpha_sort(0).set_alpha_sort(1).set_numeric_sort(2).set_numeric_sort(3)
-
.set_alpha_sort(4).set_numeric_sort(5).set_numeric_sort(6);
+
.set_numeric_sort(4).set_alpha_sort(5).set_numeric_sort(6);
std::vector<std::string> items;
items.push_back(heading);
Modified: trunk/src/menu_events.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/menu_events.cpp?rev=34833&r1=34832&r2=34833&view=diff
==============================================================================
--- trunk/src/menu_events.cpp (original)
+++ trunk/src/menu_events.cpp Mon Apr 13 01:43:16 2009
@@ -209,7 +209,7 @@
gui::menu::basic_sorter sorter;
sorter.set_alpha_sort(0).set_alpha_sort(1).set_numeric_sort(2).set_numeric_sort(3)
-
.set_alpha_sort(4).set_numeric_sort(5).set_numeric_sort(6);
+
.set_numeric_sort(4).set_alpha_sort(5).set_numeric_sort(6);
std::vector<std::string> items;
items.push_back(heading);
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits