wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth/src font.cpp


From: Guillaume Melquiond
Subject: [Wesnoth-cvs-commits] wesnoth/src font.cpp
Date: Sat, 07 May 2005 06:01:41 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Guillaume Melquiond <address@hidden>    05/05/07 10:01:40

Modified files:
        src            : font.cpp 

Log message:
        Don't hide error message.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/font.cpp.diff?tr1=1.137&tr2=1.138&r1=text&r2=text

Patches:
Index: wesnoth/src/font.cpp
diff -u wesnoth/src/font.cpp:1.137 wesnoth/src/font.cpp:1.138
--- wesnoth/src/font.cpp:1.137  Tue Apr 26 21:06:43 2005
+++ wesnoth/src/font.cpp        Sat May  7 10:01:40 2005
@@ -1,4 +1,4 @@
-/* $Id: font.cpp,v 1.137 2005/04/26 21:06:43 silene Exp $ */
+/* $Id: font.cpp,v 1.138 2005/05/07 10:01:40 silene Exp $ */
 /* vim:set encoding=utf-8: */
 /*
    Copyright (C) 2003 by David White <address@hidden>
@@ -1447,8 +1447,9 @@
        try {
                scoped_istream stream = preprocess_file("data/fonts.cfg");
                read(cfg, *stream);
-       } catch(config::error&) {
-               std::cerr << "Could not read fonts.cfg\n";
+       } catch(config::error &e) {
+               ERR_FT << "could not read fonts.cfg:\n"
+                      << e.message << '\n';
                return false;
        }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]