From e313a82ab4ccca13f6ecaff7c67e37fe2cfe672c Mon Sep 17 00:00:00 2001 From: TingPing Date: Mon, 2 Mar 2015 19:03:09 -0500 Subject: sysinfo: Strip trailing space on video card --- plugins/sysinfo/win32/backend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/sysinfo/win32/backend.c') 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) -- cgit 1.4.1