Fixed bug exposed by g++ warning "unused parameter ‘char_map’".

Signed-off-by: Augustin Cavalier <[email protected]>
This commit is contained in:
Jim Barry
2017-03-08 15:59:54 -05:00
committed by Augustin Cavalier
parent d47434c2ec
commit ba62028d23
@@ -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;
}