bool CMainFrame::ShowAutoMergeDoc(CDirDoc * pDirDoc,
int nFiles, const FileLocation ifileloc[],
- const DWORD dwFlags[] /*=0*/, const String strDesc[], const String& sReportFile,
+ const DWORD dwFlags[], const String strDesc[], const String& sReportFile /*=_T("")*/,
const PackingInfo * infoUnpacker /*= NULL*/)
{
int pane;
*/
bool CMainFrame::ShowMergeDoc(CDirDoc * pDirDoc,
int nFiles, const FileLocation ifileloc[],
- const DWORD dwFlags[], const String strDesc[], const String& sReportFile,
+ const DWORD dwFlags[], const String strDesc[], const String& sReportFile /*=_T("")*/,
const PackingInfo * infoUnpacker /*= NULL*/)
{
if (!m_pMenus[MENU_MERGEVIEW])
}
bool CMainFrame::ShowHexMergeDoc(CDirDoc * pDirDoc, int nFiles, const FileLocation fileloc[],
- const DWORD dwFlags[] /*=0*/, const String strDesc[], const String& sReportFile,
+ const DWORD dwFlags[], const String strDesc[], const String& sReportFile /*=_T("")*/,
const PackingInfo * infoUnpacker /*= NULL*/)
{
if (!m_pMenus[MENU_HEXMERGEVIEW])
}
bool CMainFrame::ShowImgMergeDoc(CDirDoc * pDirDoc, int nFiles, const FileLocation fileloc[],
- const DWORD dwFlags[], const String strDesc[], const String& sReportFile,
+ const DWORD dwFlags[], const String strDesc[], const String& sReportFile /*=_T("")*/,
const PackingInfo * infoUnpacker/* = NULL*/)
{
CImgMergeFrame *pImgMergeFrame = new CImgMergeFrame();
* @return TRUE if opening files and compare succeeded, FALSE otherwise.
*/
BOOL CMainFrame::DoFileOpen(const PathContext * pFiles /*=NULL*/,
- const DWORD dwFlags[] /*=0*/, const String strDesc[], const String& sReportFile, bool bRecurse /*=FALSE*/, CDirDoc *pDirDoc/*=NULL*/,
+ const DWORD dwFlags[] /*=NULL*/, const String strDesc[] /*=NULL*/, const String& sReportFile /*=T("")*/, bool bRecurse /*=FALSE*/, CDirDoc *pDirDoc/*=NULL*/,
String prediffer /*=_T("")*/, const PackingInfo *infoUnpacker/*=NULL*/)
{
if (pDirDoc && !pDirDoc->CloseMergeDocs())
}
}
- // Determine if we want new a dirview open now that we know if it was
- // and archive. Don't open new dirview if we are comparing files.
+ // Determine if we want a new dirview open, now that we know if it was
+ // an archive. Don't open a new dirview if we are comparing files.
if (!pDirDoc)
{
if (pathsType == paths::IS_EXISTING_DIR)