diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-04-20 02:35:32 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-04-20 02:35:32 +0400 |
commit | 9126fa8dd7f152f3b84fc7fabd6e5489c1d40176 (patch) | |
tree | 1066d5f1f3f7c48318cf60a2af81fb6e84d59711 /src/filters/InternalPropertyPage.cpp | |
parent | a978f7ebc08e11bcd0b080c622f7d015fa65c77f (diff) |
revert r4443 and r4445
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@4451 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/InternalPropertyPage.cpp')
-rw-r--r-- | src/filters/InternalPropertyPage.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/filters/InternalPropertyPage.cpp b/src/filters/InternalPropertyPage.cpp index 51f91cf70..2ac916483 100644 --- a/src/filters/InternalPropertyPage.cpp +++ b/src/filters/InternalPropertyPage.cpp @@ -53,7 +53,7 @@ BOOL CInternalPropertyPageWnd::Create(IPropertyPageSite* pPageSite, LPCRECT pRec LOGFONT lf;
memset(&lf, 0, sizeof(lf));
- _tcscpy_s(lf.lfFaceName, face);
+ _tcscpy(lf.lfFaceName, face);
HDC hDC = ::GetDC(0);
lf.lfHeight = -MulDiv(height, GetDeviceCaps(hDC, LOGPIXELSY), 72);
::ReleaseDC(0, hDC);
@@ -64,9 +64,9 @@ BOOL CInternalPropertyPageWnd::Create(IPropertyPageSite* pPageSite, LPCRECT pRec }
lf.lfHeight -= -1;
- _tcscpy_s(lf.lfFaceName, _T("Lucida Console"));
+ _tcscpy(lf.lfFaceName, _T("Lucida Console"));
if (!m_monospacefont.CreateFontIndirect(&lf)) {
- _tcscpy_s(lf.lfFaceName, _T("Courier New"));
+ _tcscpy(lf.lfFaceName, _T("Courier New"));
if (!m_monospacefont.CreateFontIndirect(&lf)) {
return FALSE;
}
|