Revert "Fix delete button in the search screen"

This reverts commit b4f2ddf585.
This commit is contained in:
Felix Wallin 2010-12-08 17:34:12 +01:00
parent 1b5f6b2dc0
commit d0732c1f92

View File

@ -2321,7 +2321,7 @@ int search_ui(pixel *vid_buf)
lasttime = TIMEOUT;
}
if(b && !bq && dp!=-1 && search_fav==0)
if(b && !bq && dp!=-1 && search_fav!=0)
if(confirm_ui(vid_buf, "Do you want to delete?", search_names[dp], "Delete"))
{
execute_delete(vid_buf, search_ids[dp]);