diff options
author | sr55 <[email protected]> | 2010-10-10 14:12:22 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2010-10-10 14:12:22 +0000 |
commit | 8019891f41076f6eb1f2ed6ae535103b392662e2 (patch) | |
tree | 2d8ba5771ea46fa6c52adb9c63e1b0b38dfed659 /win/C#/Presets | |
parent | 5f381b10a35af1530f2711cd23b3445cbf3d1470 (diff) |
WinGui:
- Add support for the new AC3 Encoder.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3595 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Presets')
-rw-r--r-- | win/C#/Presets/PlistPresetHandler.cs | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/win/C#/Presets/PlistPresetHandler.cs b/win/C#/Presets/PlistPresetHandler.cs index d05cb52af..87a29cc84 100644 --- a/win/C#/Presets/PlistPresetHandler.cs +++ b/win/C#/Presets/PlistPresetHandler.cs @@ -549,16 +549,8 @@ namespace Handbrake.Presets xmlWriter.WriteStartElement("key");
xmlWriter.WriteString(keyName);
xmlWriter.WriteEndElement();
- if (value)
- {
- xmlWriter.WriteStartElement("true");
- xmlWriter.WriteEndElement();
- }
- else
- {
- xmlWriter.WriteStartElement("false");
- xmlWriter.WriteEndElement();
- }
+ xmlWriter.WriteStartElement(value ? "true" : "false");
+ xmlWriter.WriteEndElement();
}
/// <summary>
|