summaryrefslogtreecommitdiffstats
path: root/win/CS/Functions
diff options
context:
space:
mode:
authorsr55 <[email protected]>2012-03-17 13:11:46 +0000
committersr55 <[email protected]>2012-03-17 13:11:46 +0000
commit3353a0f4ee5b6f1c99ac6f3fdbca4c331cc25c5c (patch)
treee477680a2288ecdd3b00473293291680c44e608c /win/CS/Functions
parenta3f2fa978a733e2461d68be2bf2ce39bdf540a0b (diff)
WinGui: (trunk) Fix an issue with the update check / build number storage code. It could throw an exception under certain circumstances.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4505 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/Functions')
-rw-r--r--win/CS/Functions/Main.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/Functions/Main.cs b/win/CS/Functions/Main.cs
index 709f43ae9..9744d6aa7 100644
--- a/win/CS/Functions/Main.cs
+++ b/win/CS/Functions/Main.cs
@@ -371,7 +371,7 @@ namespace Handbrake.Functions
}
catch (Exception e)
{
- UserSettingService.SetUserSetting(ASUserSettingConstants.HandBrakeBuild, string.Empty);
+ UserSettingService.SetUserSetting(ASUserSettingConstants.HandBrakeBuild, 0);
UserSettingService.SetUserSetting(ASUserSettingConstants.HandBrakePlatform, string.Empty);
UserSettingService.SetUserSetting(ASUserSettingConstants.HandBrakeVersion, string.Empty);
UserSettingService.SetUserSetting(ASUserSettingConstants.HandBrakeExeHash, string.Empty);