about: trim the downloaded version string

This commit is contained in:
Hylke Bons 2012-12-10 20:16:33 +01:00
parent 2714a11188
commit b7ad0e4fd7

View file

@ -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!");