version_info: Move locale to the end.

The locale information can be very noisy and span several lines
if all locale categories are set so move it to the end to improve
readibility and prioritize more important parameters.
This commit is contained in:
João Valverde 2021-05-24 15:50:04 +01:00 committed by Wireshark GitLab Utility
parent f273c62553
commit 3100b9ac4d
1 changed files with 9 additions and 10 deletions

View File

@ -418,6 +418,15 @@ get_runtime_version_info(void (*additional_info)(GString *))
/* Get info about installed memory */
get_mem_info(str);
/* Additional application-dependent information */
if (additional_info)
(*additional_info)(str);
/* zlib */
#if defined(HAVE_ZLIB) && !defined(_WIN32)
g_string_append_printf(str, ", with zlib %s", zlibVersion());
#endif
/*
* Locale.
*
@ -438,16 +447,6 @@ get_runtime_version_info(void (*additional_info)(GString *))
g_string_append(str, ", with default locale");
}
/* Additional application-dependent information */
if (additional_info)
(*additional_info)(str);
/* zlib */
#if defined(HAVE_ZLIB) && !defined(_WIN32)
g_string_append_printf(str, ", with zlib %s", zlibVersion());
#endif
/* plugins */
#ifdef HAVE_PLUGINS
if (g_module_supported()) {