From 165181c009cc984cfad23a21e251cc611d4304be Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Tue, 10 Jul 2012 22:13:18 +0200 Subject: [PATCH] config: Adjust coding style of last commit --- SparkleLib/SparkleConfig.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/SparkleLib/SparkleConfig.cs b/SparkleLib/SparkleConfig.cs index 66aebe65..ccc643d5 100755 --- a/SparkleLib/SparkleConfig.cs +++ b/SparkleLib/SparkleConfig.cs @@ -278,8 +278,9 @@ namespace SparkleLib { public bool IdentifierExists (string identifier) { foreach (XmlNode node_folder in SelectNodes ("/sparkleshare/folder")) { - var id = node_folder ["identifier"]; - if (id != null && identifier.Equals (id.InnerText)) + XmlElement folder_id = node_folder ["identifier"]; + + if (folder_id != null && identifier.Equals (folder_id.InnerText)) return true; }