summaryrefslogtreecommitdiff
path: root/frontends/amiga/utf8.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2021-04-11 23:17:32 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2021-04-11 23:17:32 +0100
commit99a3d04d5587e7908e0f2b41c71c297999a4e267 (patch)
tree75f1c4284f039ec52e2206d6058e8d5dd5629d37 /frontends/amiga/utf8.c
parent5a2f69388c924dd0798e372f263af6f29cb44f10 (diff)
downloadnetsurf-99a3d04d5587e7908e0f2b41c71c297999a4e267.tar.gz
netsurf-99a3d04d5587e7908e0f2b41c71c297999a4e267.tar.bz2
Amiga: The return value of Codesetsfind was not being assigned to a variable
Diffstat (limited to 'frontends/amiga/utf8.c')
-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);