fix build error

This commit is contained in:
Vadim Lopatin 2017-09-08 13:15:48 +03:00
parent d61d3ee1a4
commit 3810b5848c
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ class FreeTypeFontFile {
if (replacement) {
ch_glyph_index = FT_Get_Char_Index(_face, replacement);
if (ch_glyph_index == 0) {
dchar replacement = getReplacementChar(replacement);
replacement = getReplacementChar(replacement);
if (replacement) {
ch_glyph_index = FT_Get_Char_Index(_face, replacement);
}