Skip to content

Commit a549f51

Browse files
DougSchmidt-Leewardllgcode
authored andcommitted
Fix a compiler error when writing an SVG file
1 parent 1acb541 commit a549f51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

draw2dsvg/fileutil.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ package draw2dsvg
33
import (
44
"encoding/xml"
55
_ "errors"
6-
"os"
76
"io"
7+
"os"
88
)
99

1010
func WriteSvg(w io.Writer, svg *Svg) error {
11-
_, err = w.Write([]byte(xml.Header))
11+
_, err := w.Write([]byte(xml.Header))
1212
if err != nil {
1313
return err
1414
}

0 commit comments

Comments
 (0)