diff options
author | Ralph Amissah <ralph@amissah.com> | 2017-07-29 05:35:06 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:14 -0400 |
commit | 4ce831bbc753ed1352e615ca79daddd13ea448d5 (patch) | |
tree | d430a75278548827e9414fcaab1c9cb427856934 /org/sdp.org | |
parent | fix for: gdc compiled program when run, segfaults on certain actions (diff) |
0.18.1 ocn, looks promising
Diffstat (limited to 'org/sdp.org')
-rw-r--r-- | org/sdp.org | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/org/sdp.org b/org/sdp.org index cc9eee2..032448e 100644 --- a/org/sdp.org +++ b/org/sdp.org @@ -27,7 +27,7 @@ struct Version { int minor; int patch; } -enum ver = Version(0, 18, 0); +enum ver = Version(0, 18, 1); #+END_SRC #+NAME: version_txt @@ -714,10 +714,13 @@ foreach (k; doc_matters.keys_seq.seg) { if (k == "body") { check["last_obj_cite_number_body"] = obj.obj_cite_number; } - if ((k != "bookindex_seg") && (k != "blurb")) { + if (!(obj.obj_cite_number.empty)) { check["last_obj_cite_number"] = obj.obj_cite_number; - } else if (k == "bookindex_seg") { - check["last_obj_cite_number_bkidx"] = obj.obj_cite_number; + } + } + if (k == "bookindex_seg") { + if (obj.obj_cite_number_type == 2) { + check["last_obj_cite_number_bkidx"] = obj.obj_cite_number_bkidx; } } } |