[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src language.cpp
From: |
ott |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src language.cpp |
Date: |
Wed, 22 Jun 2005 08:11:26 -0400 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: ott <address@hidden> 05/06/22 12:11:26
Modified files:
src : language.cpp
Log message:
more logging for failure to set textdomain, let's hope it helps with
#11848
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/language.cpp.diff?tr1=1.94&tr2=1.95&r1=text&r2=text
Patches:
Index: wesnoth/src/language.cpp
diff -u wesnoth/src/language.cpp:1.94 wesnoth/src/language.cpp:1.95
--- wesnoth/src/language.cpp:1.94 Sun Jun 5 21:55:14 2005
+++ wesnoth/src/language.cpp Wed Jun 22 12:11:26 2005
@@ -1,4 +1,4 @@
-/* $Id: language.cpp,v 1.94 2005/06/05 21:55:14 isaaccp Exp $ */
+/* $Id: language.cpp,v 1.95 2005/06/22 12:11:26 ott Exp $ */
/* vim:set encoding=utf-8: */
/*
Copyright (C) 2003 by David White <address@hidden>
@@ -255,7 +255,9 @@
//if location is empty, this causes a crash on Windows,
so we
//disallow adding empty domains
- if(location.empty() == false) {
+ if(location.empty()) {
+ std::cerr << "no location found for '" << path
<< "', not adding textdomain\n";
+ } else {
t_string::add_textdomain(name, location);
}
}