diff options
author | sr55 <[email protected]> | 2009-12-06 14:35:13 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2009-12-06 14:35:13 +0000 |
commit | 528b95af2235d0f9c4b70d02071831d3796c994c (patch) | |
tree | 9b3d359e7ac5764c116a5cb2086bdd31df3b1015 /win/C# | |
parent | c6caa91a4ff436198e22d518d6b5e6882921576b (diff) |
WinGui:
- Fix a compile time error. (Thanks slaingod)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3008 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#')
-rw-r--r-- | win/C#/Presets/Import.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/win/C#/Presets/Import.cs b/win/C#/Presets/Import.cs index 03f192ea1..723cbb1da 100644 --- a/win/C#/Presets/Import.cs +++ b/win/C#/Presets/Import.cs @@ -11,6 +11,7 @@ namespace Handbrake.Presets {
public QueryParser importMacPreset(string filename)
{
+ XmlNode root = null;
try
{
if (!File.Exists(filename))
@@ -25,7 +26,7 @@ namespace Handbrake.Presets XmlDocument doc = new XmlDocument();
doc.LoadXml(fromfile);
- XmlNode root = doc;
+ root = doc;
if (!root.HasChildNodes)
{
MessageBox.Show(
|