summaryrefslogtreecommitdiff
path: root/amiga
diff options
context:
space:
mode:
Diffstat (limited to 'amiga')
-rw-r--r--amiga/gui.c4
-rw-r--r--amiga/theme.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index f0132f37e..5c671e1e2 100644
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -5499,7 +5499,9 @@ int main(int argc, char** argv)
return RETURN_FAIL;
}
- ret = netsurf_init(messages, current_user_cache);
+ ret = messages_add_from_file(messages);
+
+ ret = netsurf_init(current_user_cache);
if (ret != NSERROR_OK) {
ami_misc_fatal_error("NetSurf failed to initialise");
return RETURN_FAIL;
diff --git a/amiga/theme.c b/amiga/theme.c
index 4d6107ab4..0b77dc560 100644
--- a/amiga/theme.c
+++ b/amiga/theme.c
@@ -152,7 +152,7 @@ void ami_theme_init(void)
if(lock)
{
UnLock(lock);
- messages_load(themefile);
+ messages_add_from_file(themefile);
}
}