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:
15dcc15
)
ltj-ruby.lua: cache_handle can be nil
author
Hironori Kitagawa
<h_kitagawa2001@yahoo.co.jp>
Wed, 3 Sep 2014 11:38:22 +0000
(20:38 +0900)
committer
Hironori Kitagawa
<h_kitagawa2001@yahoo.co.jp>
Wed, 3 Sep 2014 11:38:38 +0000
(20:38 +0900)
src/ltj-ruby.lua
patch
|
blob
|
history
diff --git
a/src/ltj-ruby.lua
b/src/ltj-ruby.lua
index
4007fba
..
145f332
100644
(file)
--- a/
src/ltj-ruby.lua
+++ b/
src/ltj-ruby.lua
@@
-571,7
+571,7
@@
local post_lown
do
local function write_aux(wv, num)
local id = has_attr(wv, attr_ruby_id)
- if id>0 then
+ if id>0
and cache_handle
then
cache_handle:write(
'luatexja.ruby.old_break_info['
.. tostring(id) .. ']=' .. num