OSDN Git Service

WinGui:
authorsr55 <sr55@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Mon, 31 Dec 2007 17:31:24 +0000 (17:31 +0000)
committersr55 <sr55@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Mon, 31 Dec 2007 17:31:24 +0000 (17:31 +0000)
- Very small checking to improve the development expire code. (and for testing the irc bot)

git-svn-id: svn://localhost/HandBrake/trunk@1157 b64f7644-9d1e-0410-96f1-a4d463321fa5

win/C#/Program.cs

index ab485c1..57734cb 100644 (file)
@@ -32,13 +32,7 @@ namespace Handbrake
 \r
             // Development Code Expiry.\r
             // Remember to comment out on public release!!!\r
-            int year = DateTime.Now.Year;\r
-            int month = DateTime.Now.Month;\r
-            int day = DateTime.Now.Day;\r
-\r
-            if ((year > 2007) || (month > 10 )) { MessageBox.Show("Sorry, This development build of Handbrake has expired."); return; } \r
-\r
-\r
+            if (DateTime.Now > DateTime.Parse("30/1/2008")) { MessageBox.Show("Sorry, This development build of Handbrake has expired."); return; } \r
 \r
             // Check the system meets the system requirements.\r
             Boolean launch = true;\r