Return *Latex from NewLatexRenderer

This commit is contained in:
Vytautas Šaltenis 2016-07-27 09:47:58 +03:00
parent a4f1e5c786
commit ce05617fea

View File

@ -32,7 +32,7 @@ type Latex struct {
//
// flags is a set of LATEX_* options ORed together (currently no such options
// are defined).
func NewLatexRenderer(flags int) Renderer {
func NewLatexRenderer(flags int) *Latex {
var writer bytes.Buffer
return &Latex{
w: writer,