forked from enlightenment/enlightenment
fix guaranteed crash in efm_op...rustyBSD check this if you happen to read
SVN revision: 80826
This commit is contained in:
parent
4a2837830b
commit
9b4ec19471
|
@ -1097,7 +1097,8 @@ _e_fm_op_update_progress(E_Fm_Op_Task *task, off_t _plus_e_fm_op_done, off_t _pl
|
|||
eta = (int)(eta + 0.5);
|
||||
}
|
||||
|
||||
if ((percent != ppercent) || (eta != peta) || ((task) && (task != ptask)))
|
||||
if (!task) return;
|
||||
if ((percent != ppercent) || (eta != peta) || (task != ptask))
|
||||
{
|
||||
ppercent = percent;
|
||||
peta = eta;
|
||||
|
|
Loading…
Reference in New Issue