Skip to content

Commit

Permalink
fix empty xml when loading mss from string
Browse files Browse the repository at this point in the history
  • Loading branch information
nebulon42 committed Apr 3, 2016
1 parent 5585557 commit 540446d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libmagnacarto.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ func build(mmlStr string, baseDir string, options C.Opts) (output, error *C.char
}
r.Close()
style.Write(content)
} else {
style.WriteString(s)
}
}

Expand Down

0 comments on commit 540446d

Please sign in to comment.