1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-05 02:56:46 +02:00

bit of cleanup

This commit is contained in:
Jfreegman
2013-11-02 20:32:35 -04:00
parent 3907edcdda
commit 706aed533d
2 changed files with 3 additions and 9 deletions

View File

@ -133,12 +133,6 @@ static void select_friend(Tox *m, wint_t key)
}
}
} else return; /* Bad key input */
/* If we reach this something is wrong */
endwin();
tox_kill(m);
fprintf(stderr, "select_friend() failed. Aborting...\n");
exit(EXIT_FAILURE);
}
static void delete_friend(Tox *m, ToxWindow *self, int f_num, wint_t key)
@ -260,7 +254,7 @@ static void friendlist_onInit(ToxWindow *self, Tox *m)
}
ToxWindow new_friendlist()
ToxWindow new_friendlist(void)
{
ToxWindow ret;
memset(&ret, 0, sizeof(ret));