From adb738d4347e64d35b7b1c2b03f98dd178b78500 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sat, 12 Jun 2010 17:29:32 +0100 Subject: [PATCH] update coding style --- SparkleShare/SparklePaths.cs | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/SparkleShare/SparklePaths.cs b/SparkleShare/SparklePaths.cs index 30a89bc5..40e2c96d 100644 --- a/SparkleShare/SparklePaths.cs +++ b/SparkleShare/SparklePaths.cs @@ -40,12 +40,16 @@ namespace SparkleShare { public static string SparkleAvatarPath { get { - string XDG_CACHE_HOME = Environment.GetEnvironmentVariable("XDG_CACHE_HOME"); - if (XDG_CACHE_HOME != null) { + + string XDG_CACHE_HOME = + Environment.GetEnvironmentVariable ("XDG_CACHE_HOME"); + + if (XDG_CACHE_HOME != null) return Path.Combine (XDG_CACHE_HOME, "sparkleshare"); - } else { - return SparkleHelpers.CombineMore (HomePath, ".cache", "sparkleshare"); - } + else + return SparkleHelpers.CombineMore + (HomePath, ".cache", "sparkleshare"); + } }