[latex3-commits] [git/LaTeX3-latex3-luaotfload] dev: Fix redundant luaotfload.main (b3cd571)

Marcel Fabian Krüger tex at 2krueger.de
Thu Apr 16 13:06:00 CEST 2020


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

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

commit b3cd571dc8ebf7bf43ac0a62f5660b68d5181709
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Thu Apr 16 13:06:00 2020 +0200

    Fix redundant luaotfload.main


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

b3cd571dc8ebf7bf43ac0a62f5660b68d5181709
 src/luaotfload-main.lua | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/luaotfload-main.lua b/src/luaotfload-main.lua
index cb4f636..df87b68 100644
--- a/src/luaotfload-main.lua
+++ b/src/luaotfload-main.lua
@@ -280,6 +280,8 @@ local luaotfload_initialized = false --- prevent multiple invocations
 
 luaotfload.main = function ()
 
+    local logreport = luaotfload.log.report
+
     if luaotfload_initialized then
         logreport ("log", 0, "load",
                    "Luaotfload initialization requested but is already \z
@@ -309,8 +311,6 @@ luaotfload.main = function ()
         initialize "configuration"   --- configuration options
     end)
 
-    local logreport = luaotfload.log.report
-
     initialize "loaders"         --- Font loading; callbacks
     initialize "database"        --- Font management.
     initialize "colors"          --- Per-font colors.





More information about the latex3-commits mailing list.