Fix up font restoration from preferences so it actually sets the font.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14159 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
7235a5a7dd
commit
23c29a9f30
|
@ -1012,8 +1012,8 @@ TMailApp::LoadSettings()
|
|||
fFont.SetSize(size);
|
||||
|
||||
if (fontFamily[0] && fontStyle[0]) {
|
||||
fFont.SetFamilyAndStyle(fontFamily[0] ? NULL : fontFamily,
|
||||
fontStyle[0] ? NULL : fontStyle);
|
||||
fFont.SetFamilyAndStyle(fontFamily[0] ? fontFamily : NULL,
|
||||
fontStyle[0] ? fontStyle : NULL);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue