From 1490b52a6b96b6a69a0c4fe9e0515dc717425128 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 22 Mar 2012 09:34:34 +0000 Subject: NetSurf options rework (a=vince r=daniels,jmb) svn path=/trunk/netsurf/; revision=13548 --- atari/download.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'atari/download.c') 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 ); -- cgit v1.2.3