Skip to content

Commit

Permalink
don't delete friends by mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregory Mullen (grayhatter) committed Oct 13, 2015
1 parent e39ce15 commit 7db443f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
8 changes: 1 addition & 7 deletions windows/main.c
Expand Up @@ -1627,13 +1627,7 @@ LRESULT CALLBACK WindowProc(HWND hwn, UINT msg, WPARAM wParam, LPARAM lParam)
}
} else {
messages_char(wParam);

switch(wParam) {
case VK_DELETE: {
list_deletesitem();
return 0;
}
}
return 0;
}

return 0;
Expand Down
4 changes: 0 additions & 4 deletions xlib/event.c
Expand Up @@ -362,10 +362,6 @@ _Bool doevent(XEvent event)
}
}

if(sym == XK_Delete) {
list_deletesitem();
}

break;
}

Expand Down

0 comments on commit 7db443f

Please sign in to comment.