From 12c4c09fb63350c684f4dee4d8500bc1d4f2a5e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= <mpg@elzevir.fr>
Date: Wed, 12 May 2010 20:39:13 +0200
Subject: Fix stupid typo in f9dcf6df.

(Should have tested that earlier, stupid me.)
---
 luatexbase-loader.dtx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'luatexbase-loader.dtx')

diff --git a/luatexbase-loader.dtx b/luatexbase-loader.dtx
index 8f01924..c6b63c6 100644
--- a/luatexbase-loader.dtx
+++ b/luatexbase-loader.dtx
@@ -340,8 +340,8 @@ function find_file_lua_emul(name)
 %
 %    \begin{macrocode}
   for _, search_name in ipairs(search_list) do
-    local f = kpse.find_file(name, 'texmfscripts')
-      or kpse.find_file(name, 'tex')
+    local f = kpse.find_file(search_name, 'texmfscripts')
+      or kpse.find_file(search_name, 'tex')
 %    \end{macrocode}
 %
 %    There is a problem with using the |tex| search format: kpse will try to
-- 
cgit v1.2.3

