1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-07 10:56:35 +01:00

display friendlist with online friends above offline

This commit is contained in:
Jfreegman
2013-11-09 02:50:32 -05:00
parent b6c6aecfca
commit 89266c8eff
2 changed files with 78 additions and 50 deletions

View File

@@ -133,7 +133,7 @@ static char servers[MAXSERVERS][SERVERLEN];
static uint16_t ports[MAXSERVERS];
static uint8_t keys[MAXSERVERS][TOX_CLIENT_ID_SIZE];
int serverlist_load()
int serverlist_load(void)
{
FILE *fp = NULL;
@@ -488,6 +488,7 @@ int main(int argc, char *argv[])
}
prompt_init_statusbar(prompt, m);
sort_friendlist_index();
while (true) {
do_tox(m, prompt);