#include "MuleStatusBarCtrl.h"
and search for
if (theApp.emuledlg==NULL || !theApp.emuledlg->IsRunning()){ // in case of shutdown while still hashing
fclose(file);
delete[] newhash;
return false;
}
and add under it
if(theApp.emuledlg->statusbar->m_hWnd && GetPartCount() > 0){ //just to be sure
CString strPercent;
strPercent.Format(_T("Hashing :%d%% - %s"), (hashcount+1)*100/GetPartCount(), in_filename);
theApp.emuledlg->statusbar->SetText(strPercent, 0, 0);
}
search
// Add filetags
UpdateMetaDataTags();
and add under it
AddLogLine(true,_T("Hashing done: %s"), GetFilePath());
0 comments:
发表评论