Author: fendrin
Date: Wed Mar 21 23:04:04 2012
New Revision: 53609

URL: http://svn.gna.org/viewcvs/wesnoth?rev=53609&view=rev
Log:
Fixed scrolling bug in the editor palettes.

Modified:
    trunk/src/editor/palette/editor_palettes.cpp

Modified: trunk/src/editor/palette/editor_palettes.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor/palette/editor_palettes.cpp?rev=53609&r1=53608&r2=53609&view=diff
==============================================================================
--- trunk/src/editor/palette/editor_palettes.cpp (original)
+++ trunk/src/editor/palette/editor_palettes.cpp Wed Mar 21 23:04:04 2012
@@ -74,7 +74,7 @@
        bool end_reached = (!(items_start_ + nitems_ + item_width_ <= 
num_items()));
 
        // move downwards
-       if(end_reached) {
+       if(!end_reached) {
                items_start_ += item_width_;
                return true;
        }


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to