OSDN Git Service
(root)
/
luatex-ja
/
luatexja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc308ff
)
typo in print_spec()
author
Hironori Kitagawa
<h_kitagawa2001@yahoo.co.jp>
Thu, 18 Aug 2022 23:59:07 +0000
(08:59 +0900)
committer
Hironori Kitagawa
<h_kitagawa2001@yahoo.co.jp>
Thu, 18 Aug 2022 23:59:07 +0000
(08:59 +0900)
src/luatexja.lua
patch
|
blob
|
history
diff --git
a/src/luatexja.lua
b/src/luatexja.lua
index
1b21654
..
395a5eb
100644
(file)
--- a/
src/luatexja.lua
+++ b/
src/luatexja.lua
@@
-187,10
+187,10
@@
end
local function print_spec(p)
local out=print_scaled(p.width or p[1])..'pt'
- if
p.stretch or p[2]
~=0 then
+ if
(p.stretch or p[2])
~=0 then
out=out..' plus '..print_glue(p.stretch or p[2], p.stretch_order or p[4])
end
- if
p.shrink or p[3]
~=0 then
+ if
(p.shrink or p[3])
~=0 then
out=out..' minus '..print_glue(p.shrink or p[3], p.shrink_order or p[5])
end
return out