From d0732c1f923b9f825b5d71e001862749ef5306da Mon Sep 17 00:00:00 2001 From: Felix Wallin Date: Wed, 8 Dec 2010 17:34:12 +0100 Subject: [PATCH] Revert "Fix delete button in the search screen" This reverts commit b4f2ddf58546fd77859f3dcbb1316228b898ea51. --- src/interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interface.c b/src/interface.c index 955579a0b..af679d83d 100644 --- a/src/interface.c +++ b/src/interface.c @@ -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]);