use g_snprintf instead of snprintf

Seems the latter cannot be found on some platforms; perhaps a
c++/namespace thing?

Use g_snprintf instead.
This commit is contained in:
Dirk-Jan C. Binnema
2020-01-07 23:15:22 +02:00
parent 38a91f3696
commit b2014fe93e
7 changed files with 12 additions and 12 deletions

View File

@ -137,7 +137,7 @@ print_stats (MuIndexStats* stats, gboolean clear, gboolean color)
fputs ("\r", stdout);
if (color)
snprintf
g_snprintf
(output, sizeof(output),
MU_COLOR_YELLOW "%c " MU_COLOR_DEFAULT
"processing mail; "
@ -149,7 +149,7 @@ print_stats (MuIndexStats* stats, gboolean clear, gboolean color)
(unsigned)stats->_updated,
(unsigned)stats->_cleaned_up);
else
snprintf
g_snprintf
(output, sizeof(output),
"%c processing mail; processed: %u; "
"updated/new: %u, cleaned-up: %u",