This commit is contained in:
stax76
2022-03-04 21:49:05 +01:00
parent 6916a63de6
commit 2249174f96
8 changed files with 186 additions and 82 deletions

View File

@@ -145,7 +145,7 @@ namespace MsgBoxEx
{
if (!IsFontFamilyValid(familyName))
if (!string.IsNullOrEmpty(familyName))
MsgFontFamily = new System.Windows.Media.FontFamily(familyName);
MsgFontFamily = new FontFamily(familyName);
MsgFontSize = Math.Max(1.0, size);
}