Author: silene
Date: Sun Apr 26 11:25:47 2009
New Revision: 35229

URL: http://svn.gna.org/viewcvs/wesnoth?rev=35229&view=rev
Log:
Removed redundant path spearator.

Modified:
    trunk/src/font.cpp

Modified: trunk/src/font.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/font.cpp?rev=35229&r1=35228&r2=35229&view=diff
==============================================================================
--- trunk/src/font.cpp (original)
+++ trunk/src/font.cpp Sun Apr 26 11:25:47 2009
@@ -313,10 +313,9 @@
 void manager::init() const
 {
 #ifdef CAIRO_HAS_FT_FONT
-       if(!FcConfigAppFontAddDir( FcConfigGetCurrent(),
-                       reinterpret_cast<const FcChar8*>
-                       ((game_config::path + "/fonts/").c_str()))) {
-
+       if (!FcConfigAppFontAddDir(FcConfigGetCurrent(),
+               reinterpret_cast<const FcChar8 *>((game_config::path + 
"/fonts").c_str())))
+       {
                ERR_FT << "Could not load the true type fonts\n";
                throw error();
        }


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to