X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7936354da7452fa9923bdd374742d64af9f86934..a72a4bfaf3299ea77e47f9c91721ab35688fe496:/src/msw/font.cpp diff --git a/src/msw/font.cpp b/src/msw/font.cpp index 2df27bb969..56778e8b8b 100644 --- a/src/msw/font.cpp +++ b/src/msw/font.cpp @@ -465,7 +465,7 @@ void wxNativeFontInfo::SetUnderlined(bool underlined) void wxNativeFontInfo::SetFaceName(wxString facename) { - wxStrncpy(lf.lfFaceName, facename, sizeof(lf.lfFaceName)); + wxStrncpy(lf.lfFaceName, facename, sizeof(lf.lfFaceName)/sizeof(WCHAR)); } void wxNativeFontInfo::SetFamily(wxFontFamily family) @@ -482,7 +482,7 @@ void wxNativeFontInfo::SetFamily(wxFontFamily family) case wxDECORATIVE: ff_family = FF_DECORATIVE; - facename = _T("Wingdings"); + facename = _T("Old English Text MT"); break; case wxROMAN: