summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2010-03-23 23:09:17 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2010-03-23 23:09:17 +0000
commitf6d0a6aa05da46f906cfc8741b2eeb85ca39d12f (patch)
tree3899d81549159b8b353377983effe25a30cafee1
parent6168e67632490726f9508cd1f9303de354b7f6cd (diff)
downloadnetsurf-f6d0a6aa05da46f906cfc8741b2eeb85ca39d12f.tar.gz
netsurf-f6d0a6aa05da46f906cfc8741b2eeb85ca39d12f.tar.bz2
If a file isn't dropped over a text box or a file box, just load it.
svn path=/trunk/netsurf/; revision=10148
-rwxr-xr-xamiga/gui.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index c8128af1f..886185ac8 100755
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -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)
{