summaryrefslogtreecommitdiff
path: root/windows/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'windows/main.c')
-rw-r--r--windows/main.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/windows/main.c b/windows/main.c
index 1997c85d1..b9ef44a3c 100644
--- a/windows/main.c
+++ b/windows/main.c
@@ -183,10 +183,13 @@ WinMain(HINSTANCE hInstance, HINSTANCE hLastInstance, LPSTR lpcli, int ncmd)
nsoption_read(options_file_location, NULL);
nsoption_commandline(&argc, argv, NULL);
- /* common initialisation */
+ /* message init */
messages = filepath_find(respaths, "messages");
- ret = netsurf_init(messages, NULL);
+ messages_add_from_file(messages);
free(messages);
+
+ /* common initialisation */
+ ret = netsurf_init(NULL);
if (ret != NSERROR_OK) {
free(options_file_location);
LOG("NetSurf failed to initialise");