diff options
author | Joop Kiefte <ikojba@gmail.com> | 2020-11-20 03:44:08 +0200 |
---|---|---|
committer | Joop Kiefte <ikojba@gmail.com> | 2020-11-20 03:44:14 +0200 |
commit | 8c0b9acd171f0c8203fc796863a8c3aa35727dbf (patch) | |
tree | 48691621d42af699c5088edb3805a71d1d723fec | |
parent | bdf726126c447c5c28a17ac204cbd4965942c0af (diff) |
Small bugfix (crash index out of bounds)
-rw-r--r-- | main.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -54,7 +54,7 @@ func main() { outs := strings.Split(*output, ".") if len(outs)>1 && *to == "" { - *to = outs[len(ins)-1] + *to = outs[len(outs)-1] } if len(outs)>2 && *sceneout == "" { *sceneout = outs[len(outs)-2] @@ -129,7 +129,7 @@ func main() { return } log.Println("No external PDF tool found, using built-in PDF output.") - log.Println("Disadvantages of built-in PDF: non-English not truly supported, no inline markup.") + log.Println("Disadvantages of built-in PDF: no inline markup, no dual dialog.") log.Println("Advantages of built-in PDF: very fast (perfect for drafts) and reasonable configurability.") pdf.Create(*output, conf.Elements[*elements], i) case "lex": |