diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2010-08-28 23:46:08 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2010-08-28 23:46:08 +0000 |
commit | b3a3988ff0b9fc167da8a71442806825601d2354 (patch) | |
tree | 03f6a26e47f6201f17bc7f18fc74cd95ae3eefa6 /amiga/menu.c | |
parent | 890e7b2b466451528f7cfd64b88a16275ae5c2d0 (diff) | |
download | netsurf-b3a3988ff0b9fc167da8a71442806825601d2354.tar.gz netsurf-b3a3988ff0b9fc167da8a71442806825601d2354.tar.bz2 |
Add startup and shutdown ARexx scripts (default to startup.nsrx and shutdown.nsrx)
Remove PROGDIR: from arexx_dir default as AM_EXECUTE can't find files in PROGDIR:
svn path=/trunk/netsurf/; revision=10719
Diffstat (limited to 'amiga/menu.c')
-rwxr-xr-x | amiga/menu.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/amiga/menu.c b/amiga/menu.c index e04add09c..8e0f99252 100755 --- a/amiga/menu.c +++ b/amiga/menu.c @@ -323,6 +323,9 @@ void ami_menu_arexx_scan(struct NewMenu *menu) for(ead = (struct ExAllData *)buffer; ead; ead = ead->ed_Next) { if(item >= AMI_MENU_AREXX_MAX) continue; + if(!strcasecmp(ead->ed_Name, option_arexx_startup)) continue; + if(!strcasecmp(ead->ed_Name, option_arexx_shutdown)) continue; + if(EAD_IS_FILE(ead)) { menu[item].nm_Type = NM_ITEM; |