diff options
author | sr55 <[email protected]> | 2007-12-31 17:31:24 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2007-12-31 17:31:24 +0000 |
commit | 18e93dcf5a1fc492b3fcdf78d9e85e3a26f990c6 (patch) | |
tree | d341be86f5d392dc2e953edc01a1439e258e41e0 /win | |
parent | cb37e52f451a5c2a7c97e937f9d682b637447990 (diff) |
WinGui:
- Very small checking to improve the development expire code. (and for testing the irc bot)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1157 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win')
-rw-r--r-- | win/C#/Program.cs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/win/C#/Program.cs b/win/C#/Program.cs index ab485c16f..57734cbd7 100644 --- a/win/C#/Program.cs +++ b/win/C#/Program.cs @@ -32,13 +32,7 @@ namespace Handbrake // Development Code Expiry.
// Remember to comment out on public release!!!
- int year = DateTime.Now.Year;
- int month = DateTime.Now.Month;
- int day = DateTime.Now.Day;
-
- if ((year > 2007) || (month > 10 )) { MessageBox.Show("Sorry, This development build of Handbrake has expired."); return; }
-
-
+ if (DateTime.Now > DateTime.Parse("30/1/2008")) { MessageBox.Show("Sorry, This development build of Handbrake has expired."); return; }
// Check the system meets the system requirements.
Boolean launch = true;
|