From d7460fd91bb272304b0d457c7c828d9995c38512 Mon Sep 17 00:00:00 2001 From: Hironori Kitagawa Date: Wed, 5 Apr 2017 08:16:36 +0900 Subject: [PATCH] typo --- src/ltj-setwidth.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ltj-setwidth.lua b/src/ltj-setwidth.lua index 56fa1c9..007ccb0 100644 --- a/src/ltj-setwidth.lua +++ b/src/ltj-setwidth.lua @@ -14,7 +14,7 @@ local getfont = node.direct.getfont local getlist = node.direct.getlist local getchar = node.direct.getchar local getsubtype = node.direct.getsubtype -local getdepth = node.direct.getdepth or function(n) getfield(n,'depth') end +local getdepth = node.direct.getdepth or function(n) return getfield(n,'depth') end local getwhd = node.direct.getwhd or function(n) return getfield(n,'width'), getfield(n,'height'),getfield(n,'depth') end -- 2.11.0