From 14bf4b47a5ea36ba329e5910f3aa1d26cc452be9 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 25 Jun 2016 17:52:32 +0100 Subject: 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 --- frontends/amiga/gui_options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontends/amiga/gui_options.c') 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); -- cgit v1.2.3