HexEdit/BGCompare.cpp
bool CHexEditDoc::OrigFileHasChanged()
{
	if (pfile1_ == NULL)
		return false;

	bool retval = false;

	// Use current knowledge of last change time to see if original file has changed
	if (prev_mtime_ != prev_comp_mtime_)
	{
		retval = true;
		prev_comp_mtime_ = prev_mtime_;  // keep track of last check
	}

	return retval;
}
// Check if disk file has changed

Check if disk file has changed
Check if disk file has changed
bool CHexEditDoc::OrigFileHasChanged()
{
	if (pfile1_ == NULL)
		return false;
	bool retval = false;
	if (prev_mtime_ != prev_comp_mtime_)
	{
		retval = true;
		prev_comp_mtime_ = prev_mtime_;  
	}
	return retval;
}
bool CHexEditDoc :: OrigFileHasChanged ( ) { if ( pfile1_ == NULL ) return false ; bool retval = false ; if ( prev_mtime_ != prev_comp_mtime_ ) { retval = true ; prev_comp_mtime_ = prev_mtime_ ; } return retval ; }
Check if disk file has changed
Check if disk file has changed
// Use current knowledge of last change time to see if original file has changed
 // keep track of last check
