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:
Alexander G.M. Smith 2005-09-11 19:28:18 +00:00
parent 7235a5a7dd
commit 23c29a9f30
1 changed files with 2 additions and 2 deletions

View File

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