From a5596fcadca0a473f5a0de80f6cebffd228bddcd Mon Sep 17 00:00:00 2001
From: nightfox <>
Date: Thu, 26 Sep 2019 00:10:23 +0000
Subject: [PATCH] Changed the variable being checked by the require() for
 SlyEdit_Misc.js.  It was previously checking for CTRL_A, which is now also
 defined in key_defs.js, so SlyEdit_Misc.js wasn't being loaded anymore.  With
 this fix, SlyEdit should now run again with the latest .js updates.

---
 exec/SlyEdit.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exec/SlyEdit.js b/exec/SlyEdit.js
index 1c8ac669ac..856df37761 100644
--- a/exec/SlyEdit.js
+++ b/exec/SlyEdit.js
@@ -137,7 +137,7 @@ if (requireFnExists)
 {
 	require("sbbsdefs.js", "K_NOCRLF");
 	require("dd_lightbar_menu.js", "DDLightbarMenu");
-	require(gStartupPath + "SlyEdit_Misc.js", "CTRL_A");
+	require(gStartupPath + "SlyEdit_Misc.js", "gUserSettingsFilename");
 }
 else
 {
-- 
GitLab