Gitweb links:

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

The branch, master has been updated
       via  f162ddc7118ade79a358c4750f22278915f07ea4 (commit)
      from  d9a2c7b9c155256a322e66ce3aec6dfe0147941c (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=f162ddc7118ade79a358c4750f22278915f07ea4
commit f162ddc7118ade79a358c4750f22278915f07ea4
Author: Chris Young <[email protected]>
Commit: Chris Young <[email protected]>

    Fix menu shortcuts on non-menuclass menus

diff --git a/frontends/amiga/menu.c b/frontends/amiga/menu.c
index 249ca07..65265c3 100644
--- a/frontends/amiga/menu.c
+++ b/frontends/amiga/menu.c
@@ -389,7 +389,7 @@ static struct Menu *ami_menu_layout_gt(struct ami_menu_data 
**md, int max)
                else
                        nm[i].nm_Label = md[i]->menulab;
 
-               if((md[i]->menukey) && (strlen(md[i]->menukey) > 1)) {
+               if((md[i]->menukey) && (strlen(md[i]->menukey) == 1)) {
                        nm[i].nm_CommKey = md[i]->menukey;
                }
                nm[i].nm_Flags = md[i]->flags;


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

Summary of changes:
 frontends/amiga/menu.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/frontends/amiga/menu.c b/frontends/amiga/menu.c
index 249ca07..65265c3 100644
--- a/frontends/amiga/menu.c
+++ b/frontends/amiga/menu.c
@@ -389,7 +389,7 @@ static struct Menu *ami_menu_layout_gt(struct ami_menu_data 
**md, int max)
                else
                        nm[i].nm_Label = md[i]->menulab;
 
-               if((md[i]->menukey) && (strlen(md[i]->menukey) > 1)) {
+               if((md[i]->menukey) && (strlen(md[i]->menukey) == 1)) {
                        nm[i].nm_CommKey = md[i]->menukey;
                }
                nm[i].nm_Flags = md[i]->flags;


-- 
NetSurf Browser

_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to