summaryrefslogtreecommitdiff
path: root/atari
diff options
context:
space:
mode:
authorOle Loots <ole@monochrom.net>2014-09-15 21:51:24 +0200
committerOle Loots <ole@monochrom.net>2014-09-15 21:51:24 +0200
commit771da43c4368911be83a7197352c77d76e836ae2 (patch)
treefaa1da2c1e4b91f32f601542fadd1d6aad5fa7da /atari
parent48c48319e0265f84feabfb9c77ce9908abd285a7 (diff)
downloadnetsurf-771da43c4368911be83a7197352c77d76e836ae2.tar.gz
netsurf-771da43c4368911be83a7197352c77d76e836ae2.tar.bz2
Pass store path to netsurf_init()
Diffstat (limited to 'atari')
-rw-r--r--atari/gui.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/atari/gui.c b/atari/gui.c
index 161582cfd..9ba56f05c 100644
--- a/atari/gui.c
+++ b/atari/gui.c
@@ -1054,6 +1054,7 @@ static struct gui_browser_table atari_browser_table = {
int main(int argc, char** argv)
{
char messages[PATH_MAX];
+ char store[PATH_MAX];
const char *addr;
char * file_url = NULL;
struct stat stat_buf;
@@ -1091,6 +1092,7 @@ int main(int argc, char** argv)
atari_find_resource((char*)&messages, "messages", "res/messages");
atari_find_resource((char*)&options, "Choices", "Choices");
+ atari_find_resource((char*)&store, "cache", "res/cache");
/* initialise logging - not fatal if it fails but not much we can
* do about it
@@ -1107,7 +1109,7 @@ int main(int argc, char** argv)
/* common initialisation */
LOG(("Initialising core..."));
- ret = netsurf_init(messages, NULL);
+ ret = netsurf_init(messages, store);
if (ret != NSERROR_OK) {
die("NetSurf failed to initialise");
}