wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth/src display.cpp


From: Philippe Plantier
Subject: [Wesnoth-cvs-commits] wesnoth/src display.cpp
Date: Mon, 01 Nov 2004 14:03:56 -0500

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Philippe Plantier <address@hidden>      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 <address@hidden>
    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);
 }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]