1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-03 21:26:45 +02:00

add missing malloc error checks and fix widechar to char comparison

This commit is contained in:
jfreegman
2020-11-03 00:59:28 -05:00
parent 1bbd50aac7
commit 3f02e119f4
3 changed files with 20 additions and 5 deletions

View File

@ -716,7 +716,7 @@ static void delete_blocked_friend(uint32_t bnum);
/* deactivates delete friend popup and deletes friend if instructed */
static void del_friend_deactivate(Tox *m, wint_t key)
{
if (key == 'y') {
if (key == L'y') {
if (blocklist_view == 0) {
delete_friend(m, PendingDelete.num);
sort_friendlist_index();