From 6857808656bdb7615c1de6b9d693435c0fd62818 Mon Sep 17 00:00:00 2001 From: Alexander Kojevnikov Date: Sat, 5 Mar 2011 19:28:28 +0800 Subject: [PATCH] osx: Fix new version check --- src/spek-platform.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/spek-platform.c b/src/spek-platform.c index 477a0b6..8dd1361 100644 --- a/src/spek-platform.c +++ b/src/spek-platform.c @@ -98,6 +98,7 @@ gchar *spek_platform_read_line (const gchar *uri) { buf = (gchar *) g_malloc (length + 1); CFDataGetBytes (data, CFRangeMake (0, length), (UInt8 *) buf); buf[length] = '\0'; + g_strchomp (buf); CFRelease (data); } CFRelease (url);