CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Philippe Plantier <[EMAIL PROTECTED]> 04/11/01 18:47:09
Modified files:
src : display.cpp
Log message:
Forces a redraw after zooming. Fixes bug 8879.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/display.cpp.diff?tr1=1.270&tr2=1.271&r1=text&r2=text
Patches:
Index: wesnoth/src/display.cpp
diff -u wesnoth/src/display.cpp:1.270 wesnoth/src/display.cpp:1.271
--- wesnoth/src/display.cpp:1.270 Wed Oct 27 21:11:31 2004
+++ wesnoth/src/display.cpp Mon Nov 1 18:47:09 2004
@@ -1,4 +1,4 @@
-/* $Id: display.cpp,v 1.270 2004/10/27 21:11:31 gruikya Exp $ */
+/* $Id: display.cpp,v 1.271 2004/11/01 18:47:09 gruikya Exp $ */
/*
Copyright (C) 2003 by David White <[EMAIL PROTECTED]>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -401,6 +401,9 @@
map_labels_.recalculate_labels();
invalidate_all();
+ // Forces a redraw after zooming. This prevents some graphic glitches
from occuring.
+ draw();
+
return double(zoom_)/double(DefaultZoom);
}