OSDN Git Service

typo
authorHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Tue, 4 Apr 2017 23:16:36 +0000 (08:16 +0900)
committerHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Tue, 4 Apr 2017 23:16:36 +0000 (08:16 +0900)
src/ltj-setwidth.lua

index 56fa1c9..007ccb0 100644 (file)
@@ -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