summary refs log tree commit diff stats
path: root/src/common/sysinfo/win32
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/sysinfo/win32')
-rw-r--r--src/common/sysinfo/win32/backend.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/sysinfo/win32/backend.c b/src/common/sysinfo/win32/backend.c
index 67a0fd2b..e2ae83ed 100644
--- a/src/common/sysinfo/win32/backend.c
+++ b/src/common/sysinfo/win32/backend.c
@@ -356,6 +356,8 @@ static char *read_cpu_info (IWbemClassObject *object)
 
 	VariantClear (&max_clock_speed_variant);
 
+	g_strchomp (name_utf8);
+
 	if (cpu_freq_mhz > 1000)
 	{
 		result = g_strdup_printf ("%s (%.2fGHz)", name_utf8, cpu_freq_mhz / 1000.f);