summaryrefslogtreecommitdiff
path: root/amiga
diff options
context:
space:
mode:
Diffstat (limited to 'amiga')
-rw-r--r--amiga/menu.c8
-rw-r--r--amiga/options.h2
2 files changed, 7 insertions, 3 deletions
diff --git a/amiga/menu.c b/amiga/menu.c
index 0b93ade65..b1f4ff90c 100644
--- a/amiga/menu.c
+++ b/amiga/menu.c
@@ -496,8 +496,12 @@ void ami_menu_arexx_scan(struct gui_window_2 *gwin)
LONG cont;
struct ExAllData *ead;
char *menu_lab;
-
- if(lock = Lock(nsoption_charp(arexx_dir), SHARED_LOCK))
+ char lock_dir[1024];
+
+ strlcpy(lock_dir, "PROGDIR:", 1024);
+ AddPart(lock_dir, nsoption_charp(arexx_dir), 1024);
+
+ if(lock = Lock(lock_dir, SHARED_LOCK))
{
if(buffer = AllocVecTagList(1024, NULL))
{
diff --git a/amiga/options.h b/amiga/options.h
index f595cd240..b95ddf12d 100644
--- a/amiga/options.h
+++ b/amiga/options.h
@@ -44,7 +44,7 @@ NSOPTION_BOOL(tab_close_warn, true)
NSOPTION_BOOL(tab_always_show, false)
NSOPTION_BOOL(kiosk_mode, false)
NSOPTION_STRING(search_engines_file, "PROGDIR:Resources/SearchEngines")
-NSOPTION_STRING(arexx_dir, "PROGDIR:Rexx")
+NSOPTION_STRING(arexx_dir, "Rexx")
NSOPTION_STRING(arexx_startup, "Startup.nsrx")
NSOPTION_STRING(arexx_shutdown, "Shutdown.nsrx")
NSOPTION_STRING(download_dir, NULL)