Skip to content

Commit

Permalink
fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
rodolforg committed Aug 25, 2020
1 parent 1e9775c commit 625c0ec
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions synfig-core/src/modules/lyr_freetype/lyr_freetype.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -553,10 +553,8 @@ Layer_Freetype::new_face(const String &newfont)
std::vector<const char *> possible_font_extensions = {""};

// if newfont doesn't have a known extension, try to append those extensions
{
if (! has_valid_font_extension(newfont))
possible_font_extensions.insert(possible_font_extensions.end(), known_font_extensions.begin(), known_font_extensions.end());
}
if (! has_valid_font_extension(newfont))
possible_font_extensions.insert(possible_font_extensions.end(), known_font_extensions.begin(), known_font_extensions.end());

std::vector<std::string> possible_font_directories = {""};
std::string canvas_path;
Expand Down

0 comments on commit 625c0ec

Please sign in to comment.