Skip to content

Commit

Permalink
Update MCPUSAGE.module
Browse files Browse the repository at this point in the history
Fix Division by zero error when opening I-Nex Library.
  • Loading branch information
alphastar868 committed Sep 18, 2016
1 parent 5c1d016 commit 0937357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion I-Nex/i-nex/.src/MCPUSAGE.module
Original file line number Diff line number Diff line change
Expand Up @@ -125,5 +125,5 @@ Public Sub proc_stat()
totald = (Total - PrevTotal)
idled = (Idle - PrevIdle)

Finfosys.ProgressBar7.Value = (totald - idled) / totald
If totald > 0 Then Finfosys.ProgressBar7.Value = (totald - idled) / totald
End

0 comments on commit 0937357

Please sign in to comment.