summaryrefslogtreecommitdiffstats
path: root/win/C#/frmDownload.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/C#/frmDownload.cs')
-rw-r--r--win/C#/frmDownload.cs6
1 files changed, 2 insertions, 4 deletions
diff --git a/win/C#/frmDownload.cs b/win/C#/frmDownload.cs
index fb2b8ab06..a3067e17d 100644
--- a/win/C#/frmDownload.cs
+++ b/win/C#/frmDownload.cs
@@ -1,5 +1,4 @@
/* frmDownload.cs $
-
This file is part of the HandBrake source code.
Homepage: <http://handbrake.fr>.
It may be used under the terms of the GNU General Public License. */
@@ -29,7 +28,6 @@ namespace Handbrake
private delegate void DownloadFailedCallback();
-
public frmDownload(string filename)
{
InitializeComponent();
@@ -86,10 +84,10 @@ namespace Handbrake
private void UpdateProgress(long bytesRead, long totalBytes)
{
- long p = (bytesRead*100)/totalBytes;
+ long p = (bytesRead * 100) / totalBytes;
int.TryParse(p.ToString(), out _progress);
progress_download.Value = _progress;
- lblProgress.Text = (bytesRead/1024) + "k of " + (totalBytes/1024) + "k ";
+ lblProgress.Text = (bytesRead / 1024) + "k of " + (totalBytes / 1024) + "k ";
}
private void DownloadComplete()