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: Guillaume Melquiond
Subject: [Wesnoth-cvs-commits] wesnoth/src display.cpp
Date: Sun, 12 Sep 2004 08:46:54 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Guillaume Melquiond <address@hidden>    04/09/12 12:41:46

Modified files:
        src            : display.cpp 

Log message:
        These log scopes are not useful: they don't even say what is drawn; 
just remove them.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/display.cpp.diff?tr1=1.259&tr2=1.260&r1=text&r2=text

Patches:
Index: wesnoth/src/display.cpp
diff -u wesnoth/src/display.cpp:1.259 wesnoth/src/display.cpp:1.260
--- wesnoth/src/display.cpp:1.259       Sat Sep 11 21:22:57 2004
+++ wesnoth/src/display.cpp     Sun Sep 12 12:41:46 2004
@@ -1,4 +1,4 @@
-/* $Id: display.cpp,v 1.259 2004/09/11 21:22:57 gruikya Exp $ */
+/* $Id: display.cpp,v 1.260 2004/09/12 12:41:46 silene Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -503,7 +503,7 @@
 
 void draw_panel(display& disp, const theme::panel& panel, 
std::vector<gui::button>& buttons)
 {
-       log_scope("draw panel");
+       //log_scope("draw panel");
        surface surf(image::get_image(panel.image(),image::UNSCALED));
 
        const SDL_Rect screen = disp.screen_area();
@@ -524,7 +524,7 @@
 
 void draw_label(display& disp, surface target, const theme::label& label)
 {
-       log_scope("draw label");
+       //log_scope("draw label");
 
        const std::string& text = label.text();
        const std::string& icon = label.icon();




reply via email to

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