fix sparkletogiturl method

This commit is contained in:
Hylke Bons 2010-06-19 16:05:42 +01:00
parent be9763a59f
commit 81aab35f18

View file

@ -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.