Author: mordante
Date: Sat Sep 20 09:30:16 2008
New Revision: 29564

URL: http://svn.gna.org/viewcvs/wesnoth?rev=29564&view=rev
Log:
step_size_ should be unsigned so fixed that.

Modified:
    trunk/src/gui/widgets/window_builder.cpp
    trunk/src/gui/widgets/window_builder_private.hpp

Modified: trunk/src/gui/widgets/window_builder.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/widgets/window_builder.cpp?rev=29564&r1=29563&r2=29564&view=diff
==============================================================================
--- trunk/src/gui/widgets/window_builder.cpp (original)
+++ trunk/src/gui/widgets/window_builder.cpp Sat Sep 20 09:30:16 2008
@@ -1033,7 +1033,7 @@
  *     minimum_value (int = 0)        The minimum value the slider can have.
  *     maximum_value (int = 0)        The maximum value the slider can have.
  *
- *     step_size (int = 0)            The number of items the slider's value
+ *     step_size (unsigned = 0)       The number of items the slider's value
  *                                    increases with one step.
  *     value (int = 0)                The value of the slider.
  *

Modified: trunk/src/gui/widgets/window_builder_private.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/widgets/window_builder_private.hpp?rev=29564&r1=29563&r2=29564&view=diff
==============================================================================
--- trunk/src/gui/widgets/window_builder_private.hpp (original)
+++ trunk/src/gui/widgets/window_builder_private.hpp Sat Sep 20 09:30:16 2008
@@ -197,7 +197,7 @@
        unsigned best_slider_length_;
        int minimum_value_;
        int maximum_value_;
-       int step_size_;
+       unsigned step_size_;
        int value_;
 
        t_string minimum_value_label_;


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

Reply via email to