CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Isaac Clerencia <[EMAIL PROTECTED]> 04/09/04 23:55:07
Modified files:
src : config.cpp
Log message:
Fixed nasty problem in config.cpp with prevented loading saved games
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/config.cpp.diff?tr1=1.106&tr2=1.107&r1=text&r2=text
Patches:
Index: wesnoth/src/config.cpp
diff -u wesnoth/src/config.cpp:1.106 wesnoth/src/config.cpp:1.107
--- wesnoth/src/config.cpp:1.106 Sat Sep 4 17:13:16 2004
+++ wesnoth/src/config.cpp Sat Sep 4 23:55:07 2004
@@ -1,4 +1,4 @@
-/* $Id: config.cpp,v 1.106 2004/09/04 17:13:16 ydirson Exp $ */
+/* $Id: config.cpp,v 1.107 2004/09/04 23:55:07 isaaccp Exp $ */
/*
Copyright (C) 2003 by David White <[EMAIL PROTECTED]>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -645,7 +645,7 @@
last_element.top()[name] =
element;
- if
(element->values["textdomain"] != "") {
+
if(element->values.count("textdomain") != 0){
std::cerr << "out of "
<< element
<< ", restoring
from textdomain "
<<
current_textdomain;