From 91c6b52bea2c59320764b90fe895cb89acbd9cb5 Mon Sep 17 00:00:00 2001
From: "Rob Swindell (on ChromeOS)" <rob@synchro.net>
Date: Sun, 12 Feb 2023 22:54:10 -0800
Subject: [PATCH] Descriptions of js.exec_file and exec_dir were reversed

---
 src/sbbs3/js_internal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sbbs3/js_internal.c b/src/sbbs3/js_internal.c
index 155677aef3..84197136a2 100644
--- a/src/sbbs3/js_internal.c
+++ b/src/sbbs3/js_internal.c
@@ -224,8 +224,8 @@ static char* prop_desc[] = {
 	,"do callbacks after script finishes running"
 	/* New properties go here... */
 	,"full path and filename of JS file executed"
-	,"directory of executed JS file"
 	,"JS filename executed (with no path)"
+	,"directory of executed JS file"
 	,"Either the configured startup directory in SCFG (for externals) or the cwd when jsexec is started"
 	,"global scope for this script"
 	,"load() search path array.<br>For relative load paths (e.g. not beginning with '/' or '\\'), "
-- 
GitLab