mirror of https://github.com/dahall/Vanara.git
More work on #317 (hopefully last)
parent
2c95eb502f
commit
5f394168c7
|
@ -1223,7 +1223,7 @@ public partial class VirtualDisk : IDisposable, IHandle
|
|||
return true;
|
||||
|
||||
case Win32Error.ERROR_IO_PENDING:
|
||||
progress?.Report(Math.Max(100, (int)(prog.CurrentValue * 100 / prog.CompletionValue)));
|
||||
progress?.Report(Math.Min(100, (int)(prog.CurrentValue * 100 / prog.CompletionValue)));
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue