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);