Skip to content

Commit

Permalink
HOTFIX force clear of friends request page, to avoid a libc free segf…
Browse files Browse the repository at this point in the history
…ault
  • Loading branch information
Gregory Mullen (grayhatter) committed Jun 18, 2015
1 parent babdb05 commit 43780f8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui_buttons.h
Original file line number Diff line number Diff line change
Expand Up @@ -388,11 +388,11 @@ static void button_sendfile_update(BUTTON *b)
}
}

static void button_accept_friend_onpress(void)
{
static void button_accept_friend_onpress(void){
FRIENDREQ *req = selected_item->data;
tox_postmessage(TOX_ACCEPTFRIEND, 0, 0, req);
list_reselect_current();
panel_friend_request.disabled = 1;
// list_reselect_current();
}

static void button_avatar_onpress(void)
Expand Down

0 comments on commit 43780f8

Please sign in to comment.