Fix infinite dialogs when unable to open a save from the website

This commit is contained in:
jacksonmj 2011-07-24 07:01:40 +08:00 committed by Simon Robertshaw
parent aeaaa1c4da
commit 7808059453

View File

@ -3011,7 +3011,7 @@ int search_ui(pixel *vid_buf)
if ((b && !bq && mp!=-1 && !st && !uih) || do_open==1)
{
if (open_ui(vid_buf, search_ids[mp], search_dates[mp]?search_dates[mp]:NULL)==1) {
if (open_ui(vid_buf, search_ids[mp], search_dates[mp]?search_dates[mp]:NULL)==1 || do_open==1) {
goto finish;
}
}