Commit 6406526d authored by Mathieu Giraud's avatar Mathieu Giraud

core/segment.cpp: json output, AlignBox::addToJson() is now 1-based

parent 11f3d530
...@@ -57,13 +57,13 @@ void AlignBox::addToJson(json &seg) { ...@@ -57,13 +57,13 @@ void AlignBox::addToJson(json &seg) {
if (key != "3") // no end information for J if (key != "3") // no end information for J
{ {
j["end"] = end; j["end"] = end + 1;
j["delRight"] = del_right; j["delRight"] = del_right;
} }
if (key != "5") // no start information for V if (key != "5") // no start information for V
{ {
j["start"] = start; j["start"] = start + 1;
j["delLeft"] = del_left; j["delLeft"] = del_left;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment