summaryrefslogtreecommitdiffstats
path: root/win/CS/frmMain.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2011-08-15 16:58:58 +0000
committersr55 <[email protected]>2011-08-15 16:58:58 +0000
commit774af7004dd17c59fee9606273cd52a24867eb98 (patch)
tree763f773d49e28dae91eb06479e508365bab73cbc /win/CS/frmMain.cs
parent44b2c7e69d5613631a4ab39a91e01b673046f030 (diff)
WinGui: Couple of minor bug fixes in the user settings code.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4176 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/frmMain.cs')
-rw-r--r--win/CS/frmMain.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/frmMain.cs b/win/CS/frmMain.cs
index 64c92ce0a..a3fe681d4 100644
--- a/win/CS/frmMain.cs
+++ b/win/CS/frmMain.cs
@@ -454,7 +454,7 @@ namespace Handbrake
lbl_updateCheck.Visible = true;
Settings.Default.lastUpdateCheckDate = DateTime.Now;
Settings.Default.Save();
- string url = userSettingService.GetUserSetting<string>(UserSettingConstants.HandBrakeBuild).EndsWith("1")
+ string url = userSettingService.GetUserSetting<int>(UserSettingConstants.HandBrakeBuild).ToString().EndsWith("1")
? Settings.Default.appcast_unstable
: Settings.Default.appcast;
UpdateService.BeginCheckForUpdates(new AsyncCallback(UpdateCheckDoneMenu), false, url, userSettingService.GetUserSetting<int>(UserSettingConstants.HandBrakeBuild), Settings.Default.skipversion, userSettingService.GetUserSetting<string>(UserSettingConstants.HandBrakeVersion));