Author: jhinrichs
Date: Mon Apr 27 22:38:48 2009
New Revision: 35270
URL: http://svn.gna.org/viewcvs/wesnoth?rev=35270&view=rev
Log:
Oops, forgot to remove some test code for the last commit and removes a
pointless const.
Modified:
trunk/src/gui/dialogs/game_save.hpp
trunk/src/savegame.cpp
Modified: trunk/src/gui/dialogs/game_save.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/dialogs/game_save.hpp?rev=35270&r1=35269&r2=35270&view=diff
==============================================================================
--- trunk/src/gui/dialogs/game_save.hpp (original)
+++ trunk/src/gui/dialogs/game_save.hpp Mon Apr 27 22:38:48 2009
@@ -63,7 +63,7 @@
public:
tgame_save_oos(const std::string& title, const std::string&
filename="", const std::string& message="");
- const bool ignore_all() const { return ignore_all_; }
+ bool ignore_all() const { return ignore_all_; }
private:
/** Inherited from tgame_save. */
Modified: trunk/src/savegame.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/savegame.cpp?rev=35270&r1=35269&r2=35270&view=diff
==============================================================================
--- trunk/src/savegame.cpp (original)
+++ trunk/src/savegame.cpp Mon Apr 27 22:38:48 2009
@@ -480,14 +480,13 @@
int overwrite = 0;
bool exit = true;
static bool ignore_all = false;
- bool has_exit = true;
do{
try{
if (ask_for_filename){
std::string filename = filename_;
- if (has_exit){
+ if (has_exit_button){
gui2::tgame_save_oos dlg(title_,
filename, message);
dlg.show(gui.video());
filename = dlg.filename();
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits