Gitweb links:

...log 
http://git.netsurf-browser.org/netsurf.git/shortlog/99a3d04d5587e7908e0f2b41c71c297999a4e267
...commit 
http://git.netsurf-browser.org/netsurf.git/commit/99a3d04d5587e7908e0f2b41c71c297999a4e267
...tree 
http://git.netsurf-browser.org/netsurf.git/tree/99a3d04d5587e7908e0f2b41c71c297999a4e267

The branch, master has been updated
       via  99a3d04d5587e7908e0f2b41c71c297999a4e267 (commit)
      from  5a2f69388c924dd0798e372f263af6f29cb44f10 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/netsurf.git/commit/?id=99a3d04d5587e7908e0f2b41c71c297999a4e267
commit 99a3d04d5587e7908e0f2b41c71c297999a4e267
Author: Chris Young <[email protected]>
Commit: Chris Young <[email protected]>

    Amiga: The return value of Codesetsfind was not being assigned to a variable

diff --git a/frontends/amiga/utf8.c b/frontends/amiga/utf8.c
index af5af12..2a4643b 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);
 


-----------------------------------------------------------------------

Summary of changes:
 frontends/amiga/utf8.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/frontends/amiga/utf8.c b/frontends/amiga/utf8.c
index af5af12..2a4643b 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);
 


-- 
NetSurf Browser
_______________________________________________
netsurf-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to