[latex3-commits] [latex3/luaotfload] dev: Fix status display (e8c97cf1)

github at latex-project.org github at latex-project.org
Mon Mar 18 23:51:30 CET 2024


Repository : https://github.com/latex3/luaotfload
On branch  : dev
Link       : https://github.com/latex3/luaotfload/commit/e8c97cf1636c124bfea8da469e0c33bfea617814

>---------------------------------------------------------------

commit e8c97cf1636c124bfea8da469e0c33bfea617814
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Mon Mar 18 23:51:30 2024 +0100

    Fix status display


>---------------------------------------------------------------

e8c97cf1636c124bfea8da469e0c33bfea617814
 src/luaotfload-configuration.lua | 2 +-
 src/luaotfload-tool.lua          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/luaotfload-configuration.lua b/src/luaotfload-configuration.lua
index ffa07aed..d9ccec52 100644
--- a/src/luaotfload-configuration.lua
+++ b/src/luaotfload-configuration.lua
@@ -270,6 +270,7 @@ local default_config = {
 
     hang = feature_presets.hang,
   },
+  status = luaotfloadstatus,
 }
 
 -------------------------------------------------------------------------------
@@ -990,7 +991,6 @@ local function apply (old, new)
       end
     end
   end
-  result.status = luaotfloadstatus
   return result
 end
 
diff --git a/src/luaotfload-tool.lua b/src/luaotfload-tool.lua
index 7f4150d3..a52793f9 100644
--- a/src/luaotfload-tool.lua
+++ b/src/luaotfload-tool.lua
@@ -336,7 +336,7 @@ local function version_msg ( )
 
     local runtime = luaotfload.runtime
     local notes   = config.luaotfload.status
-    local notes   = status and status.notes or { }
+    local notes   = notes and notes.notes or { }
 
     out (about, luaotfload.self)
     out ("%s version: %q", luaotfload.self, version)





More information about the latex3-commits mailing list.