Return *Latex from NewLatexRenderer

pull/272/head
Vytautas Šaltenis 2016-07-27 09:47:58 +03:00 committed by Pierre Neidhardt
parent c3ca55d898
commit 3e91040a6a
1 changed files with 1 additions and 1 deletions

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,