From 81aab35f1809c105c295a8c74003e6b0e9052ce0 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sat, 19 Jun 2010 16:05:42 +0100 Subject: [PATCH] fix sparkletogiturl method --- SparkleShare/SparkleHelpers.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SparkleShare/SparkleHelpers.cs b/SparkleShare/SparkleHelpers.cs index 8a39b0b7..fd16adb9 100644 --- a/SparkleShare/SparkleHelpers.cs +++ b/SparkleShare/SparkleHelpers.cs @@ -89,7 +89,7 @@ namespace SparkleShare { // to ssh://git@ public static string SparkleToGitUrl (string Url) { - if (Url.Substring (0, 9).Equals ("sparkle://")) + if (Url.Substring (0, 10).Equals ("sparkle://")) Url = Url.Replace ("sparkle://", "ssh://git@"); // Usually don't need the ".git" at the end.