diff options
author | sr55 <[email protected]> | 2007-12-20 18:17:42 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2007-12-20 18:17:42 +0000 |
commit | 497e1b008f2ad22b2a67405e53edd047167a398a (patch) | |
tree | 26f7303012ba259faec831894ee28c0f67d0ae32 /win/C#/Program.cs | |
parent | 2f4b0dffd1b896bd7186e8be3d03cc56ae28e051 (diff) |
WinGui:
- Some more code code cleanup done. Nothing major.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1141 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Program.cs')
-rw-r--r-- | win/C#/Program.cs | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/win/C#/Program.cs b/win/C#/Program.cs index b5af0d74c..e764a1c29 100644 --- a/win/C#/Program.cs +++ b/win/C#/Program.cs @@ -23,9 +23,6 @@ namespace Handbrake [STAThread]
static void Main()
{
- // 633265950858281250 = 16:52 28-Sep-07 //864000000000 nanoseconds per day
- //long start = DateTime.Now.Ticks;
- //if (start > 633274593039531250) {MessageBox.Show("Sorry, This development build of Handbrake has expired."); return; } // Will Expire Oct 8th
// Check the system meets the system requirements.
Boolean launch = true;
@@ -42,19 +39,16 @@ namespace Handbrake // Make sure the system has enough RAM. 384MB or greater
uint memory = MemoryCheck.CheckMemeory();
memory = memory / 1024 / 1024;
-
- if (memory < 320)
+
+ if (memory < 256)
{
- MessageBox.Show("Your system does not meet the minimum requirements for HandBrake. \n Insufficient RAM. 512MB or greater required. You have: " + memory.ToString() + "MB", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
+ MessageBox.Show("Your system does not meet the minimum requirements for HandBrake. \n Insufficient RAM. 384MB or greater required. You have: " + memory.ToString() + "MB", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
launch = false;
}
}
catch (Exception exc)
{
- if (Properties.Settings.Default.GuiDebug == "Checked")
- {
- MessageBox.Show("frmMain.cs - systemCheck() " + exc.ToString());
- }
+ MessageBox.Show("frmMain.cs - systemCheck() " + exc.ToString());
}
|