Removed redundant path spearator.

This commit is contained in:
Guillaume Melquiond 2009-04-26 09:25:47 +00:00
parent c21ea970af
commit 4c17b5d4b5

View file

@ -313,10 +313,9 @@ void manager::update_font_path() const
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();
}