version info: Strip whitespace from a string

This commit is contained in:
João Valverde 2023-01-11 16:23:19 +00:00
parent 29ca9c289f
commit 943bede110
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ add_model_name_to_string(gpointer key, gpointer value _U_,
g_string_append(info->str, info->sep);
/* Now add the model name. */
g_string_append(info->str, (char *)key);
g_string_append(info->str, g_strstrip((char *)key));
/*
* There will *definitely* need to be a separator for any subsequent