summary refs log tree commit diff stats
path: root/plugins/sysinfo/win32
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2015-03-02 19:03:09 -0500
committerTingPing <tingping@tingping.se>2015-03-20 05:38:22 -0400
commite313a82ab4ccca13f6ecaff7c67e37fe2cfe672c (patch)
treed14b417f01ce074ade15cd6ed6c1bb0efff03563 /plugins/sysinfo/win32
parent9024a5c71ba83b8dc4a5da9f4a3ffc5781f14a5a (diff)
sysinfo: Strip trailing space on video card
Diffstat (limited to 'plugins/sysinfo/win32')
-rw-r--r--plugins/sysinfo/win32/backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sysinfo/win32/backend.c b/plugins/sysinfo/win32/backend.c
index 26779961..2451c122 100644
--- a/plugins/sysinfo/win32/backend.c
+++ b/plugins/sysinfo/win32/backend.c
@@ -390,7 +390,7 @@ static char *read_vga_name (IWbemClassObject *object)
 		return NULL;
 	}
 
-	return name_utf8;
+	return g_strchomp (name_utf8);
 }
 
 static char *read_hdd_info (IWbemClassObject *object)