summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfrontends/amiga/utf8.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/amiga/utf8.c b/frontends/amiga/utf8.c
index af5af126b..2a4643b15 100755
--- a/frontends/amiga/utf8.c
+++ b/frontends/amiga/utf8.c
@@ -39,7 +39,7 @@ static nserror ami_utf8_codesets(const char *string, size_t len, char **result,
static struct codeset *utf8_cs = NULL;
static struct codeset *local_cs = NULL;
- if(local_cs == NULL) CodesetsFind(NULL,
+ if(local_cs == NULL) local_cs = CodesetsFind(NULL,
#ifdef __amigaos4__
CSA_MIBenum, nsoption_int(local_codeset),
#else
@@ -47,7 +47,7 @@ static nserror ami_utf8_codesets(const char *string, size_t len, char **result,
#endif
TAG_DONE);
- if(utf8_cs == NULL) CodesetsFind(NULL,
+ if(utf8_cs == NULL) utf8_cs = CodesetsFind(NULL,
CSA_MIBenum, CS_MIBENUM_UTF_8,
TAG_DONE);