From 0b1d8c82781171719ca418bd356fbc3185c4be92 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Mon, 10 Dec 2012 20:16:33 +0100 Subject: [PATCH] about: trim the downloaded version string --- SparkleShare/SparkleAboutController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SparkleShare/SparkleAboutController.cs b/SparkleShare/SparkleAboutController.cs index 647e4c4c..c8e706f1 100755 --- a/SparkleShare/SparkleAboutController.cs +++ b/SparkleShare/SparkleAboutController.cs @@ -70,7 +70,7 @@ namespace SparkleShare { Uri uri = new Uri ("http://www.sparkleshare.org/version"); try { - string latest_version = web_client.DownloadString (uri); + string latest_version = web_client.DownloadString (uri).Trim (); if (new Version (latest_version) > new Version (RunningVersion)) UpdateLabelEvent ("A newer version (" + latest_version + ") is available!");