summaryrefslogtreecommitdiff
path: root/src/interface.c
diff options
context:
space:
mode:
authorjacksonmj <mj-pt@jacksonmj.co.uk>2011-07-23 23:01:40 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-07-24 12:10:43 (GMT)
commit7808059453cec9f866a9481ab08d8dd91674d3c8 (patch)
treedffe0f0788a18bbd8cdfdd1bb8103dd9ba32ad2d /src/interface.c
parentaeaaa1c4dabbb1816f2afd39dc80b2eb4f3be34e (diff)
downloadpowder-7808059453cec9f866a9481ab08d8dd91674d3c8.zip
powder-7808059453cec9f866a9481ab08d8dd91674d3c8.tar.gz
Fix infinite dialogs when unable to open a save from the website
Diffstat (limited to 'src/interface.c')
-rw-r--r--src/interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interface.c b/src/interface.c
index 3f14e7f..7286c4d 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -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;
}
}