summaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2013-05-28 16:44:46 +0100
committerVincent Sanders <vince@kyllikki.org>2013-05-28 16:44:46 +0100
commita92e5930ffbcb178a2d2420ee2f6d4834ffa90e1 (patch)
treeb3284a8aaadc287ecb3397f989fc9e4d53dd4191 /windows
parentfcc61ea37437fbfd163c5a96a7119bbcf69073e1 (diff)
downloadnetsurf-a92e5930ffbcb178a2d2420ee2f6d4834ffa90e1.tar.gz
netsurf-a92e5930ffbcb178a2d2420ee2f6d4834ffa90e1.tar.bz2
fixup issues with new options API merge
Diffstat (limited to 'windows')
-rw-r--r--windows/gui.c2
-rw-r--r--windows/prefs.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/windows/gui.c b/windows/gui.c
index 159e8f0c1..f8d57fd33 100644
--- a/windows/gui.c
+++ b/windows/gui.c
@@ -931,7 +931,7 @@ nsws_window_command(HWND hwnd,
nsoption_set_int(window_y, r.top);
nsoption_set_int(window_width, r.right - r.left);
nsoption_set_int(window_height, r.bottom - r.top);
- nsoption_write(options_file_location);
+ nsoption_write(options_file_location, NULL, NULL);
break;
}
diff --git a/windows/prefs.c b/windows/prefs.c
index 93a30b00f..e933cc10d 100644
--- a/windows/prefs.c
+++ b/windows/prefs.c
@@ -675,7 +675,6 @@ void nsws_prefs_dialog_init(HINSTANCE hinst, HWND parent)
win_perror("PropertySheet");
} else if (ret > 0) {
/* user saved changes */
- nsoption_write(options_file_location);
+ nsoption_write(options_file_location, NULL, NULL);
}
-
}