X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/19193a2c85987b595932957e73013e7ea100f0e8..00c813596e3eefdd028365acf9542355937e5531:/src/os2/font.cpp?ds=sidebyside 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