From 23c29a9f3012b1a750d9f9884df2b6555c6c8f87 Mon Sep 17 00:00:00 2001 From: "Alexander G.M. Smith" Date: Sun, 11 Sep 2005 19:28:18 +0000 Subject: [PATCH] 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 --- src/apps/bemail/Mail.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apps/bemail/Mail.cpp b/src/apps/bemail/Mail.cpp index 9152f1686c..29b8bce615 100644 --- a/src/apps/bemail/Mail.cpp +++ b/src/apps/bemail/Mail.cpp @@ -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); } } }