forked from osmocom/wireshark
version info: Strip whitespace from a string
This commit is contained in:
parent
29ca9c289f
commit
943bede110
|
@ -58,7 +58,7 @@ add_model_name_to_string(gpointer key, gpointer value _U_,
|
||||||
g_string_append(info->str, info->sep);
|
g_string_append(info->str, info->sep);
|
||||||
|
|
||||||
/* Now add the model name. */
|
/* 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
|
* There will *definitely* need to be a separator for any subsequent
|
||||||
|
|
Loading…
Reference in New Issue