X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/19193a2c85987b595932957e73013e7ea100f0e8..51dc95a4c8ccb00741be48f6353749ada3e9f39a:/src/os2/font.cpp diff --git a/src/os2/font.cpp b/src/os2/font.cpp index 5f42a49ab8..d33d991d89 100644 --- a/src/os2/font.cpp +++ b/src/os2/font.cpp @@ -370,7 +370,7 @@ bool wxFont::RealizeResource() vError = ::WinGetLastError(vHabmain); } - strcpy(zFacename, M_FONTDATA->m_vFattrs.szFacename); + M_FONTDATA->m_sFaceName = zFacename; if(::GpiCreateLogFont( M_FONTDATA->m_hPS ,NULL