X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/19193a2c85987b595932957e73013e7ea100f0e8..6433f6d3165a3f8633f42c59694a9104a7b37a93:/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