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

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
This commit is contained in:
Jim Barry 2016-01-27 12:03:07 +00:00 committed by Augustin Cavalier
parent d47434c2ec
commit ba62028d23

View File

@ -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;
}