chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
This commit is contained in:
1 parent
2b0c2055ff
commit
164968b62e
6171 files changed
+191244
-191243
No files matched your search
@@ -1,4 +1,4 @@
|
||||
#include "stdafx.h"
|
||||
#include "stdafx.h"
|
||||
#include "SBGZDlg.h"
|
||||
#include "AecDbEntityBase.h"
|
||||
#include "AecMInterfaces.h"
|
||||
@@ -42,7 +42,7 @@ BOOL CSBGZDlg::OnInitDialog()
|
||||
m_wndPreview.Create(rc,this,IDC_STATICVIEW);
|
||||
m_wndPreview.Init(1,1,-1,NULL);
|
||||
|
||||
CString sName = _T("设备");
|
||||
CString sName = _T("设备");
|
||||
|
||||
AecDbEwFitting* pFit = AecDbEwFitting::cast(m_pEqu);
|
||||
if (pFit != NULL)
|
||||
@@ -58,7 +58,7 @@ BOOL CSBGZDlg::OnInitDialog()
|
||||
CString sInf;
|
||||
for (int i = 0;i < m_pMInf->GetInterfaceCount();i++)
|
||||
{
|
||||
sInf.Format(_T("接口%d"),i+1);
|
||||
sInf.Format(_T("接口%d"),i+1);
|
||||
m_wndListInf1.AddString(sInf);
|
||||
}
|
||||
|
||||
@@ -69,7 +69,7 @@ void CSBGZDlg::OnBnClickedOk()
|
||||
{
|
||||
if (m_nIndex1 < 0)
|
||||
{
|
||||
AfxMessageBox(_T("请选择管嘴!"));
|
||||
AfxMessageBox(_T("请选择管嘴!"));
|
||||
return;
|
||||
}
|
||||
OnOK();
|
||||
@@ -86,7 +86,7 @@ void CSBGZDlg::OnLbnSelchangeList1()
|
||||
if (m_pMInf != NULL)
|
||||
m_pMInf->SetActiveInf(m_nIndex1);
|
||||
|
||||
CString sName = _T("设备");
|
||||
CString sName = _T("设备");
|
||||
m_wndPreview.InitSingleCtrlFor3D(m_pEqu,sName,FALSE);
|
||||
m_wndPreview.Redraw();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user