把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
This commit is contained in:
gjm committed 2026-10-04 00:04:20 +08:00
1 parent 2b0c2055ff
commit 164968b62e
6171 files changed
+191244 -191243

No files matched your search

+7 -7
View File
@@ -1,4 +1,4 @@
#include "stdafx.h"
#include "stdafx.h"
#include "JXPDDlg.h"
#include "AecDbroof.h"
#include "EarThwormDef.h"
@@ -14,8 +14,8 @@ CJXPDDlg::CJXPDDlg(CWnd* pParent /*=NULL*/)
, m_dEavesLength(600)
, m_dSlopeAngle(30)
, m_dMountHeight(1100)
, m_sMaterial(_T("PVC防腐隔热瓦"))
, m_sProvider(_T("现场定制"))
, m_sMaterial(_T("PVC防腐隔热瓦"))
, m_sProvider(_T("现场定制"))
, m_dSlabThick(200)
{
@@ -74,26 +74,26 @@ void CJXPDDlg::OnSelChangeType()
{
m_nRoofType=m_comboType.GetCurSel();
BOOL bShowLen=TRUE,bShowHeight=TRUE,bEnableAngle=TRUE;
if (m_nRoofType==0) //歇山
if (m_nRoofType==0) //歇山
{
bShowLen=FALSE;
GetDlgItem(IDC_EDIT2)->ShowWindow(SW_SHOW);
}
else if (m_nRoofType==1) //四坡
else if (m_nRoofType==1) //四坡
{
bShowLen=FALSE;
bShowHeight=FALSE;
GetDlgItem(IDC_EDIT2)->ShowWindow(SW_SHOW);
GetDlgItem(IDC_STATIC_ANG)->ShowWindow(SW_SHOW);
}
else if (m_nRoofType==2) //人字坡
else if (m_nRoofType==2) //人字坡
{
bShowHeight=FALSE;
bEnableAngle=FALSE;
GetDlgItem(IDC_EDIT2)->ShowWindow(SW_SHOW);
GetDlgItem(IDC_STATIC_ANG)->ShowWindow(SW_SHOW);
}
else //攒尖
else //攒尖
{
bShowHeight=FALSE;
bShowLen=FALSE;