diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2021-04-11 23:17:32 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2021-04-11 23:17:32 +0100 |
commit | 99a3d04d5587e7908e0f2b41c71c297999a4e267 (patch) | |
tree | 75f1c4284f039ec52e2206d6058e8d5dd5629d37 /frontends/amiga/utf8.c | |
parent | 5a2f69388c924dd0798e372f263af6f29cb44f10 (diff) | |
download | netsurf-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-x | frontends/amiga/utf8.c | 4 |
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); |