1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-12-24 17:13:26 +01:00
This commit is contained in:
Jfreegman 2014-03-11 20:00:12 -04:00
commit dd697d7af1
2 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@
#include "chat_commands.h" #include "chat_commands.h"
#include "global_commands.h" #include "global_commands.h"
#include "toxic_windows.h" #include "toxic_windows.h"
#include <curses.h> #include <curses.h>
#include <AL/al.h> #include <AL/al.h>
#include <AL/alc.h> #include <AL/alc.h>

View File

@ -473,7 +473,7 @@ static void friendlist_onAv(ToxWindow *self, ToxAv *av)
{ {
int id = toxav_get_peer_id(av, 0); int id = toxav_get_peer_id(av, 0);
/*id++;*/ /*id++;*/
if ( id >= max_friends_index) if ( id != ErrorInternal && id >= max_friends_index)
return; return;
Tox* m = toxav_get_tox(av); Tox* m = toxav_get_tox(av);