Author: mordante
Date: Sun May 24 15:49:38 2009
New Revision: 35876

URL: http://svn.gna.org/viewcvs/wesnoth?rev=35876&view=rev
Log:
Remove an no longer needed test.

Modified:
    trunk/src/gui/widgets/control.cpp

Modified: trunk/src/gui/widgets/control.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/widgets/control.cpp?rev=35876&r1=35875&r2=35876&view=diff
==============================================================================
--- trunk/src/gui/widgets/control.cpp (original)
+++ trunk/src/gui/widgets/control.cpp Sun May 24 15:49:38 2009
@@ -312,13 +312,8 @@
        std::cerr << "tcontrol(" + get_control_type() + ") " + __func__ + ": "
                << " id " << id()
                << " dirty " << get_dirty()
-               << " visible " << is_visible()
                << ".\n";
 #endif
-       if(!is_visible()) {
-               return;
-       }
-
        canvas(get_state()).draw();
        SDL_Rect rect = get_rect();
        SDL_BlitSurface(canvas(get_state()).surf(), NULL, frame_buffer, &rect);


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

Reply via email to