1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

snprintf() -> g_snprintf()

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2172 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-12-01 15:22:52 +00:00 committed by cras
parent d4411e4545
commit b35062bb6a

View File

@ -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,