From f62a6501bae828a835383e6226f3bd86173e36ae Mon Sep 17 00:00:00 2001 From: sr55 Date: Sat, 24 Sep 2011 21:52:17 +0000 Subject: WinGui: Some bug fixes and re-factoring of the preset code. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4246 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/CS/HandBrake.ApplicationServices/Utilities/PlistUtility.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win/CS/HandBrake.ApplicationServices/Utilities') diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/PlistUtility.cs b/win/CS/HandBrake.ApplicationServices/Utilities/PlistUtility.cs index 30b752d7d..2bbdfffcd 100644 --- a/win/CS/HandBrake.ApplicationServices/Utilities/PlistUtility.cs +++ b/win/CS/HandBrake.ApplicationServices/Utilities/PlistUtility.cs @@ -547,7 +547,7 @@ namespace HandBrake.ApplicationServices.Utilities AddEncodeElement(xmlWriter, "PictureWidth", "integer", parsed.Width.ToString()); // Preset Information - AddEncodeElement(xmlWriter, "PresetBuildNumber", "string", userSettingService.GetUserSetting(ASUserSettingConstants.HandBrakeBuild)); + AddEncodeElement(xmlWriter, "PresetBuildNumber", "string", userSettingService.GetUserSetting(ASUserSettingConstants.HandBrakeBuild).ToString()); AddEncodeElement(xmlWriter, "PresetDescription", "string", "No Description"); AddEncodeElement(xmlWriter, "PresetName", "string", preset.Name); AddEncodeElement(xmlWriter, "Type", "integer", "1"); // 1 is user preset, 0 is built in -- cgit v1.2.3