diff options
author | Timo Sirainen <cras@irssi.org> | 2001-12-01 15:22:52 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-12-01 15:22:52 +0000 |
commit | b35062bb6a87ef8c06c5b1eddf26b08800665ebc (patch) | |
tree | 9a57509f1583dfce923081e824e49993e9299a4d /src/fe-text | |
parent | d4411e45450341e0550bb9cd1d69cb0c2119bfc0 (diff) | |
download | irssi-b35062bb6a87ef8c06c5b1eddf26b08800665ebc.zip |
snprintf() -> g_snprintf()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2172 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text')
-rw-r--r-- | src/fe-text/statusbar-items.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fe-text/statusbar-items.c b/src/fe-text/statusbar-items.c index aa69769b..b7056fcc 100644 --- a/src/fe-text/statusbar-items.c +++ b/src/fe-text/statusbar-items.c @@ -302,10 +302,10 @@ static void item_lag(SBAR_ITEM_REC *item, int get_size_only) last_lag_unknown = lag_unknown; if (lag_unknown) { - snprintf(str, sizeof(str), "%d (?""?)", lag/100); + g_snprintf(str, sizeof(str), "%d (?""?)", lag/100); } else { - snprintf(str, sizeof(str), - lag%100 == 0 ? "%d" : "%d.%02d", lag/100, lag%100); + g_snprintf(str, sizeof(str), + lag%100 == 0 ? "%d" : "%d.%02d", lag/100, lag%100); } statusbar_item_default_handler(item, get_size_only, |