| 3637 | cfclose(ofile); |
| 3638 | } |
| 3639 | |
| 3640 | void CMainFrame::OnFileSaveGoalText() { |
| 3641 | CString path = theApp.main_doc->GetPathName(); |
| 3642 | |
| 3643 | char pathname[_MAX_FNAME], filename[_MAX_FNAME], ext[_MAX_FNAME]; |
| 3644 | ddio_SplitPath(path.GetBuffer(0), pathname, filename, ext); |
| 3645 | strcat(pathname, filename); |
| 3646 | strcat(pathname, ".str"); |
| 3647 | strcat(filename, ext); |
| 3648 | |
| 3649 | CFileDialog dlg_open(FALSE, (LPCTSTR) ".str", pathname, 0, NULL, this); |
| 3650 | if (dlg_open.DoModal() == IDCANCEL) |
| 3651 | return; |
| 3652 | |
| 3653 | DumpLevelGoals(dlg_open.GetPathName().GetBuffer(0), filename); |
| 3654 | } |
| 3655 | |
| 3656 | void CMainFrame::OnViewViewprop() { |
nothing calls this directly
no test coverage detected