diff options
Diffstat (limited to 'gui/widget/output.go')
| -rw-r--r-- | gui/widget/output.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/widget/output.go b/gui/widget/output.go index ecca18c..16aacca 100644 --- a/gui/widget/output.go +++ b/gui/widget/output.go @@ -35,7 +35,7 @@ Loop: func outputDraw(v float64, r image.Rectangle) func(draw.Image) image.Rectangle { return func(drw draw.Image) image.Rectangle { - text.Draw([]byte(fmt.Sprintf("%.3f", v)), drw, r, BLACK, WHITE, text.ALIGN_RIGHT) + text.Draw(fmt.Sprintf("%.3f", v), drw, r, BLACK, WHITE, text.ALIGN_RIGHT) return r } } |