diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2010-03-23 23:09:17 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2010-03-23 23:09:17 +0000 |
commit | f6d0a6aa05da46f906cfc8741b2eeb85ca39d12f (patch) | |
tree | 3899d81549159b8b353377983effe25a30cafee1 /amiga | |
parent | 6168e67632490726f9508cd1f9303de354b7f6cd (diff) | |
download | netsurf-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
Diffstat (limited to 'amiga')
-rwxr-xr-x | amiga/gui.c | 5 |
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) { |