diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-07-09 01:07:18 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-07-09 01:07:18 +0100 |
commit | 6a9a8d6127e3fd677dc8ad28d14b4d84b3dfdc40 (patch) | |
tree | c99f9e9e53821975445f0224b2a5f4a66d444873 /frontends/amiga/gui_options.c | |
parent | df8aeb4a88210b5ce0738b08d96f619f6ce6bfea (diff) | |
download | netsurf-6a9a8d6127e3fd677dc8ad28d14b4d84b3dfdc40.tar.gz netsurf-6a9a8d6127e3fd677dc8ad28d14b4d84b3dfdc40.tar.bz2 |
Move current user options path to an abstracted nsoptions_read/write function
Diffstat (limited to 'frontends/amiga/gui_options.c')
-rwxr-xr-x | frontends/amiga/gui_options.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/frontends/amiga/gui_options.c b/frontends/amiga/gui_options.c index 21067fb40..2b1b7c944 100755 --- a/frontends/amiga/gui_options.c +++ b/frontends/amiga/gui_options.c @@ -74,6 +74,7 @@ #include "amiga/help.h" #include "amiga/libs.h" #include "amiga/misc.h" +#include "amiga/nsoption.h" #include "amiga/object.h" #include "amiga/selectmenu.h" #include "amiga/theme.h" @@ -233,8 +234,6 @@ struct ami_gui_opts_window { #endif }; -char *current_user_options = NULL; - static struct ami_gui_opts_window *gow = NULL; static CONST_STRPTR tabs[OPTS_MAX_TABS]; @@ -2057,7 +2056,7 @@ static void ami_gui_opts_use(bool save) } if(save == true) { - nsoption_write(current_user_options, NULL, NULL); + ami_nsoption_write(); ami_font_savescanner(); /* just in case it has changed and been used only */ } |