From 00eadede74dfc8f0ddbc48b710f4e8b87f1c326b Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Tue, 31 May 2011 13:50:49 +0100 Subject: [PATCH] fix compile errors on linux --- SparkleShare/SparkleIntro.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SparkleShare/SparkleIntro.cs b/SparkleShare/SparkleIntro.cs index ff399a89..a270f5f6 100644 --- a/SparkleShare/SparkleIntro.cs +++ b/SparkleShare/SparkleIntro.cs @@ -271,9 +271,9 @@ namespace SparkleShare { SyncButton.Clicked += delegate { string folder_name = FolderEntry.Text; string server = ServerEntry.Text; - string canonical_name = System.IO.Path.GetFileNameWithoutExtension (name); + string canonical_name = System.IO.Path.GetFileNameWithoutExtension (folder_name); - if (radio_button_gitorious.Active) { + if (radio_button_gitorious.Active) server = "gitorious.org"; if (radio_button_github.Active)