Fixes some mycology test suite errors
This commit is contained in:
parent
62400c81db
commit
0038f88327
4 changed files with 465 additions and 20 deletions
|
@ -41,8 +41,8 @@ func Load(fd io.Reader) (*Field, error) {
|
|||
}
|
||||
if l.l > 0 {
|
||||
f.ly++
|
||||
if f.lx < l.l {
|
||||
f.lx = l.l
|
||||
if f.lx-f.x < l.l-l.x {
|
||||
f.lx = l.l - l.x + f.x
|
||||
}
|
||||
f.lines = append(f.lines, *l)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue