From 3353a0f4ee5b6f1c99ac6f3fdbca4c331cc25c5c Mon Sep 17 00:00:00 2001 From: sr55 Date: Sat, 17 Mar 2012 13:11:46 +0000 Subject: 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 --- win/CS/frmMain.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'win/CS/frmMain.cs') diff --git a/win/CS/frmMain.cs b/win/CS/frmMain.cs index a142b5d76..8f80de22f 100644 --- a/win/CS/frmMain.cs +++ b/win/CS/frmMain.cs @@ -223,7 +223,7 @@ namespace Handbrake if (info.NewVersionAvailable) { UpdateInfo updateWindow = new UpdateInfo(info, userSettingService.GetUserSetting(ASUserSettingConstants.HandBrakeVersion), - userSettingService.GetUserSetting(ASUserSettingConstants.HandBrakeBuild)); + userSettingService.GetUserSetting(ASUserSettingConstants.HandBrakeBuild)); updateWindow.ShowDialog(); } } @@ -2584,7 +2584,10 @@ namespace Handbrake if (info.NewVersionAvailable) { - UpdateInfo updateWindow = new UpdateInfo(info, userSettingService.GetUserSetting(ASUserSettingConstants.HandBrakeVersion), userSettingService.GetUserSetting(ASUserSettingConstants.HandBrakeBuild)); + UpdateInfo updateWindow = new UpdateInfo( + info, + userSettingService.GetUserSetting(ASUserSettingConstants.HandBrakeVersion), + userSettingService.GetUserSetting(ASUserSettingConstants.HandBrakeBuild)); updateWindow.ShowDialog(); } else -- cgit v1.2.3