PATCH: [
1242008 ] Update status to binary if open fails because binary
Follow on for 2nd case
Src: DirView.cpp MergeDoc.cpp
+2005-10-05 Perry
+ PATCH: [ 1242008 ] Update status to binary if open fails because binary
+ Follow on for 2nd case
+ Src: DirView.cpp MergeDoc.cpp
+
2005-10-03 Perry
PATCH: [ 1302710 ] generating a report is slow
Perry added comments explaining one code line
*/
void CDirView::OpenSelection(PackingInfo * infoUnpacker /*= NULL*/)
{
- int sel = -1;
CDirDoc * pDoc = GetDocument();
if (di1 == di2)
{
di1->setBin();
- GetDocument()->ReloadItemStatus(sel, FALSE, FALSE);
+ GetDocument()->ReloadItemStatus(sel1, FALSE, FALSE);
}
}
}
if (nLeftSuccess == FRESULT_BINARY || nRightSuccess == FRESULT_BINARY)
{
CompareBinaries(sLeftFile, sRightFile, nLeftSuccess, nRightSuccess);
+ return OPENRESULTS_FAILED_BINARY;
}
return OPENRESULTS_FAILED_MISC;
}