From d1623b987a5c6da0798ee32e2ae23bbbbcbb9bbf Mon Sep 17 00:00:00 2001 From: wj32 Date: Sun, 18 Oct 2009 06:32:54 +0000 Subject: [PATCH] * updated CHANGELOG.txt * fixed the fix git-svn-id: svn://svn.code.sf.net/p/processhacker/code@2256 21ef857c-d57f-4fe0-8362-d861dc6d29cd --- trunk/CHANGELOG.txt | 1 + trunk/ProcessHacker/Forms/UpdaterDownloadWindow.cs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/trunk/CHANGELOG.txt b/trunk/CHANGELOG.txt index cdac4b5be..e9a05ac70 100644 --- a/trunk/CHANGELOG.txt +++ b/trunk/CHANGELOG.txt @@ -7,6 +7,7 @@ Process Hacker * Decreased memory and CPU usage * FIXED: * #2880368 - "Highlight Option dialog does not show current colors" + * #2881084 - "System.ArgumentOutOfRangeException" * Fixed some crashes on 64-bit when viewing thread stacks 1.6 diff --git a/trunk/ProcessHacker/Forms/UpdaterDownloadWindow.cs b/trunk/ProcessHacker/Forms/UpdaterDownloadWindow.cs index 62bd0b4ff..0e7cf5d1c 100644 --- a/trunk/ProcessHacker/Forms/UpdaterDownloadWindow.cs +++ b/trunk/ProcessHacker/Forms/UpdaterDownloadWindow.cs @@ -221,9 +221,9 @@ namespace ProcessHacker { int value = (int)((double)totalBytesRead * 100 / size); - if (value >= this.progressDownload.Minimum || value <= this.progressDownload.Maximum) + if (value >= this.progressDownload.Minimum && value <= this.progressDownload.Maximum) { - this.progressDownload.Value = (int)((double)totalBytesRead * 100 / size); + this.progressDownload.Value = value; } })); }