From 497e1b008f2ad22b2a67405e53edd047167a398a Mon Sep 17 00:00:00 2001 From: sr55 Date: Thu, 20 Dec 2007 18:17:42 +0000 Subject: WinGui: - Some more code code cleanup done. Nothing major. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1141 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/C#/Program.cs | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'win/C#/Program.cs') 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()); } -- cgit v1.2.3