[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src display.cpp
From: |
Yann Dirson |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src display.cpp |
Date: |
Wed, 16 Mar 2005 17:43:48 -0500 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Yann Dirson <address@hidden> 05/03/16 22:43:48
Modified files:
src : display.cpp
Log message:
oops, went too fast on that one
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/display.cpp.diff?tr1=1.301&tr2=1.302&r1=text&r2=text
Patches:
Index: wesnoth/src/display.cpp
diff -u wesnoth/src/display.cpp:1.301 wesnoth/src/display.cpp:1.302
--- wesnoth/src/display.cpp:1.301 Wed Mar 16 21:49:37 2005
+++ wesnoth/src/display.cpp Wed Mar 16 22:43:47 2005
@@ -1,4 +1,4 @@
-/* $Id: display.cpp,v 1.301 2005/03/16 21:49:37 ydirson Exp $ */
+/* $Id: display.cpp,v 1.302 2005/03/16 22:43:47 ydirson Exp $ */
/*
Copyright (C) 2003 by David White <address@hidden>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -2149,7 +2149,7 @@
const std::vector<theme::menu>& buttons = theme_.menus();
for(std::vector<theme::menu>::const_iterator i = buttons.begin(); i !=
buttons.end(); ++i) {
- gui::button
b(screen_,i->title(),gui::button::TYPE_PRESS,i->image());
+ gui::button
b(*this,i->title(),gui::button::TYPE_PRESS,i->image());
const SDL_Rect& loc = i->location(screen_area());
b.set_location(loc.x,loc.y);