mkthumb: fix build for post-refactor

This commit is contained in:
mappu 2018-06-09 17:18:07 +12:00
parent 9a833d025a
commit c16736d86f

View File

@ -20,8 +20,8 @@ func main() {
fname := flag.Arg(0) fname := flag.Arg(0)
th := thumbnail.NewThumbnailer(*width, *height, 1) th := thumbnail.NewThumbnailer(*width, *height)
data, err := th.RenderFile_NoCache(fname) data, err := th.RenderFile(fname)
if err != nil { if err != nil {
fmt.Fprintln(os.Stderr, err.Error()) fmt.Fprintln(os.Stderr, err.Error())
os.Exit(1) os.Exit(1)