If a file isn't dropped over a text box or a file box, just load it.

svn path=/trunk/netsurf/; revision=10148
This commit is contained in:
Chris Young 2010-03-23 23:09:17 +00:00
parent 6168e67632
commit f6d0a6aa05

View File

@ -1557,7 +1557,12 @@ void ami_handle_appmsg(void)
}
if(!file_box && !text_box)
{
urlfilename = path_to_url(filename);
browser_window_go(gwin->bw, urlfilename, NULL, true);
free(urlfilename);
return;
}
if(file_box)
{