summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
Diffstat (limited to 'win')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Services/UserSettingService.cs1
-rw-r--r--win/CS/frmMain.cs2
2 files changed, 2 insertions, 1 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Services/UserSettingService.cs b/win/CS/HandBrake.ApplicationServices/Services/UserSettingService.cs
index 6ef071d4b..424d0a752 100644
--- a/win/CS/HandBrake.ApplicationServices/Services/UserSettingService.cs
+++ b/win/CS/HandBrake.ApplicationServices/Services/UserSettingService.cs
@@ -155,6 +155,7 @@ namespace HandBrake.ApplicationServices.Services
userSettings[UserSettingConstants.SendFile] = false;
userSettings[UserSettingConstants.MinScanDuration] = 10;
userSettings[UserSettingConstants.HandBrakeBuild] = 0;
+ userSettings[UserSettingConstants.HandBrakeVersion] = string.Empty;
}
}
}
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));