Skip to content

Commit

Permalink
Fixed bug exposed by g++ warning "unused parameter ‘char_map’".
Browse files Browse the repository at this point in the history
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
  • Loading branch information
4A696D authored and waddlesplash committed Mar 8, 2017
1 parent d47434c commit ba62028
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libs/agg/font_freetype/agg_font_freetype.cpp
Expand Up @@ -746,9 +746,10 @@ namespace agg
{
if(m_cur_face)
{
m_last_error = FT_Select_Charmap(m_cur_face, m_char_map);
m_last_error = FT_Select_Charmap(m_cur_face, char_map);
if(m_last_error == 0)
{
m_char_map = char_map;
update_signature();
return true;
}
Expand Down

0 comments on commit ba62028

Please sign in to comment.