diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2012-03-22 09:34:34 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2012-03-22 09:34:34 +0000 |
commit | 1490b52a6b96b6a69a0c4fe9e0515dc717425128 (patch) | |
tree | 8caba44a9da98e6cebf4f188e3232534b1596a4d /atari/download.c | |
parent | 0797bf5a5731b2c8d55105b453530584ea4e1f5b (diff) | |
download | netsurf-1490b52a6b96b6a69a0c4fe9e0515dc717425128.tar.gz netsurf-1490b52a6b96b6a69a0c4fe9e0515dc717425128.tar.bz2 |
NetSurf options rework (a=vince r=daniels,jmb)
svn path=/trunk/netsurf/; revision=13548
Diffstat (limited to 'atari/download.c')
-rwxr-xr-x | atari/download.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/atari/download.c b/atari/download.c index 2af2d707e..e8f916515 100755 --- a/atari/download.c +++ b/atari/download.c @@ -45,7 +45,6 @@ #include "atari/misc.h"
#include "atari/res/netsurf.rsh"
#include "atari/download.h"
-#include "atari/options.h"
#include "atari/osspec.h"
/*TODO: get filename from core. */ @@ -150,7 +149,7 @@ struct gui_download_window *gui_download_window_create(download_context *ctx, {
char *filename;
- char *destination; + char *destination;
char gdos_path[PATH_MAX];
const char * url;
struct gui_download_window * gdw; @@ -168,13 +167,13 @@ struct gui_download_window *gui_download_window_create(download_context *ctx, return( NULL );
} else if( dlgres == 2 ){ - gemdos_realpath(option_downloads_path, gdos_path); + gemdos_realpath(nsoption_charp(downloads_path), gdos_path); char * tmp = select_filepath( gdos_path, filename ); if( tmp == NULL ) return( NULL ); destination = tmp; } else { - gemdos_realpath(option_downloads_path, gdos_path); + gemdos_realpath(nsoption_charp(downloads_path), gdos_path); destination = malloc( strlen(gdos_path)+1 + strlen(filename)+1 ); sprintf( destination, "%s/%s", gdos_path, filename ); |