1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-23 03:03:02 +01:00
This commit is contained in:
Michael Rose 2013-08-14 11:59:11 +02:00
parent 6df39d572b
commit 5225b7d55c

3
main.c
View File

@ -289,7 +289,8 @@ static void do_tox()
static void populate_friends() static void populate_friends()
{ {
wprintw(prompt->window, "Populating friends...\n"); wprintw(prompt->window, "Populating friends...\n");
for (int i = 0; i < m->numfriends; i++) { uint32_t i;
for (i = 0; i < m->numfriends; i++) {
wprintw(prompt->window, "Added friend %d\n", i); wprintw(prompt->window, "Added friend %d\n", i);
friendlist_onFriendAdded(m, i); friendlist_onFriendAdded(m, i);
} }