diff options
author | Elliott Sales de Andrade <qulogic@pidgin.im> | 2019-10-30 23:25:39 -0400 |
---|---|---|
committer | Elliott Sales de Andrade <qulogic@pidgin.im> | 2019-10-30 23:25:39 -0400 |
commit | cc5a1eb85e987c82950ae156988dad3f425a014d (patch) | |
tree | 1b5bf0ea350f98c7a2f4ded729c30c42dd88c7a4 /finch/gntaccount.c | |
parent | 55842358688be761ad5e72c42c0ddc0b7f89ebcf (diff) | |
download | pidgin-cc5a1eb85e987c82950ae156988dad3f425a014d.tar.gz |
Use g_(v)snprintf so we need less wrappers.
Diffstat (limited to 'finch/gntaccount.c')
-rw-r--r-- | finch/gntaccount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/finch/gntaccount.c b/finch/gntaccount.c index 153e8539b7..2514b7c155 100644 --- a/finch/gntaccount.c +++ b/finch/gntaccount.c @@ -482,7 +482,7 @@ add_account_options(AccountEditDialog *dialog) if (account) value = purple_account_get_int(account, purple_account_option_get_setting(option), value); - snprintf(str, sizeof(str), "%d", value); + g_snprintf(str, sizeof(str), "%d", value); gnt_entry_set_flag(GNT_ENTRY(entry), GNT_ENTRY_FLAG_INT); gnt_entry_set_text(GNT_ENTRY(entry), str); } |