fix: source save
This commit is contained in:
parent
15e3d30cdb
commit
8d31557178
@ -383,8 +383,9 @@ void CMainFrame::OnOptSave()
|
|||||||
CString szfile = fileDlg.GetPathName();
|
CString szfile = fileDlg.GetPathName();
|
||||||
|
|
||||||
std::ofstream ofs(szfile);
|
std::ofstream ofs(szfile);
|
||||||
|
std::string str = CStringA(pView->m_sSource);
|
||||||
ofs << pView->m_nTime << std::endl;
|
ofs << pView->m_nTime << std::endl;
|
||||||
ofs << pView->m_sSource << std::endl;
|
ofs << str.c_str() << std::endl;
|
||||||
for (int i = 0; i < 1024; i++)
|
for (int i = 0; i < 1024; i++)
|
||||||
ofs << i << ", " << pDoc->m_nChannelCount[i] << std::endl;
|
ofs << i << ", " << pDoc->m_nChannelCount[i] << std::endl;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user