Removed redundant path spearator.
This commit is contained in:
parent
c21ea970af
commit
4c17b5d4b5
1 changed files with 3 additions and 4 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue