mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 10:52:56 +00:00
initialize variable in QFontEngineFT constructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
71675f2b85
commit
79deafb290
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ QFontEngineFT::QFontEngineFT(const QFontDef &fd, FcPattern *pattern)
|
|||
|
||||
#if defined(FC_AUTOHINT) && defined(FT_LOAD_FORCE_AUTOHINT)
|
||||
bool autohint = false;
|
||||
FcBool b;
|
||||
FcBool b = FcFalse;
|
||||
if (FcPatternGetBool(pattern, FC_AUTOHINT, 0, &b) == FcResultMatch) {
|
||||
autohint = b;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue