1
0
Fork 0

Fix segfault at exit caused by non grabbed font

mutilcraft-mt53
Kahrl 2014-11-30 23:21:14 +01:00
parent 175b7a28e5
commit 16781da4f9
1 changed files with 1 additions and 0 deletions

View File

@ -456,6 +456,7 @@ void FontEngine::initSimpleFont(unsigned int basesize, FontMode mode)
}
if (font != NULL) {
font->grab();
m_font_cache[mode][basesize] = font;
}
}