summaryrefslogtreecommitdiff
path: root/drawing.go
diff options
context:
space:
mode:
Diffstat (limited to 'drawing.go')
-rw-r--r--drawing.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/drawing.go b/drawing.go
index 3af789f..e3e7fa8 100644
--- a/drawing.go
+++ b/drawing.go
@@ -514,7 +514,7 @@ func (f *File) drawBaseChart(formatSet *formatChart) *cPlotArea {
// doughnut chart by given format sets.
func (f *File) drawDoughnutChart(formatSet *formatChart) *cPlotArea {
holeSize := 75
- if formatSet.HoleSize > 0 && formatSet.HoleSize <= 90{
+ if formatSet.HoleSize > 0 && formatSet.HoleSize <= 90 {
holeSize = formatSet.HoleSize
}