diff options
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 ); |