summaryrefslogtreecommitdiff
path: root/frontends/amiga/gui_options.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2016-06-25 17:52:32 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2016-06-25 17:52:32 +0100
commit14bf4b47a5ea36ba329e5910f3aa1d26cc452be9 (patch)
tree33c8fd9ad2c52462b79e84e5defda3316cd1ef32 /frontends/amiga/gui_options.c
parent75dcf093940c04a6c685dba35a278e35da018727 (diff)
downloadnetsurf-14bf4b47a5ea36ba329e5910f3aa1d26cc452be9.tar.gz
netsurf-14bf4b47a5ea36ba329e5910f3aa1d26cc452be9.tar.bz2
Use charset from default Locale and store it in an option so we can (a) override and (b) get it without constantly looking it up
Diffstat (limited to 'frontends/amiga/gui_options.c')
-rwxr-xr-xfrontends/amiga/gui_options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/amiga/gui_options.c b/frontends/amiga/gui_options.c
index 4e6914c6a..344d82309 100755
--- a/frontends/amiga/gui_options.c
+++ b/frontends/amiga/gui_options.c
@@ -2140,7 +2140,7 @@ BOOL ami_gui_opts_event(void)
RefreshSetGadgetAttrs((struct Gadget *)gow->objects[GID_OPTS_CONTENTLANG],
gow->win, NULL, GA_Disabled, code, TAG_DONE);
- if(code && (text = ami_locale_langs()))
+ if(code && (text = ami_locale_langs(NULL)))
{
RefreshSetGadgetAttrs((struct Gadget *)gow->objects[GID_OPTS_CONTENTLANG],
gow->win, NULL, STRINGA_TextVal, text, TAG_DONE);