From 3cd15f38466359f123160a475c437c230b92ee91 Mon Sep 17 00:00:00 2001 From: Jfreegman Date: Fri, 7 Feb 2014 23:31:35 -0500 Subject: [PATCH] show number of online friends --- src/friendlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/friendlist.c b/src/friendlist.c index 2fbb929..f569405 100644 --- a/src/friendlist.c +++ b/src/friendlist.c @@ -287,7 +287,7 @@ static void friendlist_onDraw(ToxWindow *self, Tox *m) wattroff(self->window, COLOR_PAIR(CYAN)); wattron(self->window, A_BOLD); - wprintw(self->window, " Friends: %d \n\n", num_friends); + wprintw(self->window, " Friends: %d/%d \n\n", tox_get_num_online_friends(m), num_friends); wattroff(self->window, A_BOLD); if ((y2 - FLIST_OFST) <= 0) /* don't allow division by zero */