[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src language.cpp
From: |
Yann Dirson |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src language.cpp |
Date: |
Thu, 09 Sep 2004 18:37:45 -0400 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Yann Dirson <address@hidden> 04/09/09 22:32:41
Modified files:
src : language.cpp
Log message:
removed dead code
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/language.cpp.diff?tr1=1.41&tr2=1.42&r1=text&r2=text
Patches:
Index: wesnoth/src/language.cpp
diff -u wesnoth/src/language.cpp:1.41 wesnoth/src/language.cpp:1.42
--- wesnoth/src/language.cpp:1.41 Thu Sep 9 17:48:15 2004
+++ wesnoth/src/language.cpp Thu Sep 9 22:32:41 2004
@@ -1,4 +1,4 @@
-/* $Id: language.cpp,v 1.41 2004/09/09 17:48:15 ydirson Exp $ */
+/* $Id: language.cpp,v 1.42 2004/09/09 22:32:41 ydirson Exp $ */
/*
Copyright (C) 2003 by David White <address@hidden>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -117,26 +117,6 @@
return setlocale (category, locale);
}
-namespace {
-bool internal_set_language(const language_def& locale, config& cfg)
-{
- const config::child_list& lang = cfg.get_children("language");
- for(config::child_list::const_iterator i = lang.begin(); i !=
lang.end(); ++i) {
- if((**i)["id"] == locale.localename || (**i)["language"] ==
locale.language) {
-
- current_language.language = (**i)["language"];
- current_language.localename = (**i)["id"];
-
- wesnoth_setlocale (LC_MESSAGES,
locale.localename.c_str());
-
- return true;
- }
- }
-
- return false;
-}
-}
-
bool set_language(const language_def& locale)
{
strings_.clear();
- [Wesnoth-cvs-commits] wesnoth/src language.cpp, Guillaume Melquiond, 2004/09/07
- [Wesnoth-cvs-commits] wesnoth/src language.cpp, Yann Dirson, 2004/09/08
- [Wesnoth-cvs-commits] wesnoth/src language.cpp, Yann Dirson, 2004/09/09
- [Wesnoth-cvs-commits] wesnoth/src language.cpp,
Yann Dirson <=
- [Wesnoth-cvs-commits] wesnoth/src language.cpp, Yann Dirson, 2004/09/09
- [Wesnoth-cvs-commits] wesnoth/src language.cpp, Guillaume Melquiond, 2004/09/11
- [Wesnoth-cvs-commits] wesnoth/src language.cpp, Yann Dirson, 2004/09/11
- [Wesnoth-cvs-commits] wesnoth/src language.cpp, Yann Dirson, 2004/09/11
- [Wesnoth-cvs-commits] wesnoth/src language.cpp, Yann Dirson, 2004/09/19
- [Wesnoth-cvs-commits] wesnoth/src language.cpp, Isaac Clerencia, 2004/09/19
- [Wesnoth-cvs-commits] wesnoth/src language.cpp, Alfredo Beaumont, 2004/09/19