CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Jordà Polo <[EMAIL PROTECTED]> 04/09/26 18:58:20
Modified files:
src : playturn.cpp
Log message:
added button to close out statistics screen (bug #8775)
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/playturn.cpp.diff?tr1=1.270&tr2=1.271&r1=text&r2=text
Patches:
Index: wesnoth/src/playturn.cpp
diff -u wesnoth/src/playturn.cpp:1.270 wesnoth/src/playturn.cpp:1.271
--- wesnoth/src/playturn.cpp:1.270 Sun Sep 26 09:48:50 2004
+++ wesnoth/src/playturn.cpp Sun Sep 26 18:58:18 2004
@@ -1,4 +1,4 @@
-/* $Id: playturn.cpp,v 1.270 2004/09/26 09:48:50 silene Exp $ */
+/* $Id: playturn.cpp,v 1.271 2004/09/26 18:58:18 ettin Exp $ */
/*
Copyright (C) 2003 by David White <[EMAIL PROTECTED]>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -2084,7 +2084,7 @@
items.push_back(str.str());
}
- const int res =
gui::show_dialog(gui_,NULL,_("Statistics"),"",gui::MESSAGE,&items);
+ const int res =
gui::show_dialog(gui_,NULL,_("Statistics"),"",gui::CLOSE_ONLY,&items);
std::string title;
items.clear();
switch(res) {