commit 6857808656bdb7615c1de6b9d693435c0fd62818
parent abe298e9d0e0f8fad282cb0051c9a847f073db4f
Author: Alexander Kojevnikov <alexander@kojevnikov.com>
Date: Sat, 5 Mar 2011 19:28:28 +0800
osx: Fix new version check
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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);